Hex Color #48802A - Custom Color

Color Codes

HEX
#48802A
RGB
rgb(72, 128, 42)
HSL
hsl(99, 51%, 33%)
CMYK
cmyk(44%, 0%, 67%, 50%)
HSV
hsv(99, 67%, 50%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 4.78:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 4.40:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Recommended Text Color

For best readability on this background color, use white text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #48802A;
color: #48802A;
border-color: #48802A;
}

Tailwind CSS (with arbitrary values)

bg-[#48802A]
text-[#48802A]
border-[#48802A]
// Example usage:
<div className="bg-[#48802A]">