Hex Color #AFC65F - Custom Color

Color Codes

HEX
#AFC65F
RGB
rgb(175, 198, 95)
HSL
hsl(73, 47%, 57%)
CMYK
cmyk(12%, 0%, 52%, 22%)
HSV
hsv(73, 52%, 78%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Recommended Text Color

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

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #AFC65F;
color: #AFC65F;
border-color: #AFC65F;
}

Tailwind CSS (with arbitrary values)

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