#AFB95A#AFB95A
#AFB95A is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.8% C 0.120 H 114.3°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB95A |
|---|---|
| RGB | rgb(175, 185, 90) |
| HSL | hsl(66, 40%, 54%) |
| HSV | hsv(66, 51%, 73%) |
| CMYK | cmyk(5.4%, 0%, 51.4%, 27.5%) |
| CIE-LAB | lab(72.59, -17.21, 46.49) |
| CIE-LCH | lch(72.59, 49.58, 110.31°) |
| OKLab | oklab(75.78% -0.0495 0.1097) |
| OKLCH | oklch(75.78% 0.12 114.3) |
| XYZ | xyz(36.8742, 44.5506, 16.3275) |
| Luminance | 0.4455 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive
#ACBF69
ΔE00 3.27
Light Olive Green
#A4BE5C
ΔE00 3.75
Tan Green
#A9BE70
ΔE00 4.60
Booger
#9BB53C
ΔE00 4.76
Darkkhaki
#BDB76B
ΔE00 4.99
Greenish Tan
#BCCB7A
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB95A #645AB9
analogous
#B9945A #AFB95A #80B95A
triadic
#AFB95A #5AAFB9 #B95AAF
tetradic
#AFB95A #5AB994 #645AB9 #B95A80
square
#AFB95A #5AB994 #645AB9 #B95A80
split-complementary
#AFB95A #5A80B9 #945AB9
monochromatic
#656B2D #8D9640 #AFB95A #C4CB85 #D9DDB0
Accessibility & contrast
On white
2.12
#AFB95A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.91
#AFB95A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB95A
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB95A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB95A | 1.00 | 2.12 | 9.91 | 9.91 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B151
Deuteranopia (green-blind)
#C4B35F
Tritanopia (blue-blind)
#B9B0A3
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #afb95a; /* rgb */ color: rgb(175, 185, 90); /* oklch */ color: oklch(75.8% 0.120 114.3);
Tailwind
colors: {
custom: {
50: '#c9ce8b',
500: '#afb95a',
950: '#000000',
},
}SCSS
$custom: #afb95a; $custom-light: #c9ce8b; $custom-dark: #000000;
JSON
{
"hex": "#afb95a",
"rgb": {
"r": 175,
"g": 185,
"b": 90
},
"hsl": {
"h": 66.316,
"s": 40.426,
"l": 53.922
},
"oklch": {
"l": 0.75777,
"c": 0.12033,
"h": 114.3
},
"luminance": 0.4455
}Semantic roles & 50–950 ramp
primary
#AFB95A
secondary
#A7A3CC
accent
#58D064
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13130C
muted
#82827D