Hex Color #AFC968 - Custom Color

Color Codes

HEX
#AFC968
RGB
rgb(175, 201, 104)
HSL
hsl(76, 47%, 60%)
CMYK
cmyk(13%, 0%, 48%, 21%)
HSV
hsv(76, 48%, 79%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 11.38: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: #AFC968;
color: #AFC968;
border-color: #AFC968;
}

Tailwind CSS (with arbitrary values)

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