#AFA94E#AFA94E
#AFA94E is a light, moderate yellow. Relative luminance 0.380; OKLCH L 72.1% C 0.114 H 105.4°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA94E |
|---|---|
| RGB | rgb(175, 169, 78) |
| HSL | hsl(56, 38%, 50%) |
| HSV | hsv(56, 55%, 69%) |
| CMYK | cmyk(0%, 3.4%, 55.4%, 31.4%) |
| CIE-LAB | lab(68.05, -10.00, 46.95) |
| CIE-LCH | lch(68.05, 48.00, 102.03°) |
| OKLab | oklab(72.11% -0.0302 0.1094) |
| OKLCH | oklch(72.11% 0.114 105.4) |
| XYZ | xyz(33.2433, 38.0410, 12.7978) |
| Luminance | 0.3804 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.05
Darkkhaki
#BDB76B
ΔE00 4.85
Vomit
#A2A415
ΔE00 5.79
Puke
#A5A502
ΔE00 6.27
Pea Soup Green
#94A617
ΔE00 7.64
Muddy Yellow
#BFAC05
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA94E #4E54AF
analogous
#AF794E #AFA94E #84AF4E
triadic
#AFA94E #4EAFA9 #A94EAF
tetradic
#AFA94E #4EAF79 #4E54AF #AF4E84
square
#AFA94E #4EAF79 #4E54AF #AF4E84
split-complementary
#AFA94E #4E84AF #794EAF
monochromatic
#5A5728 #85803B #AFA94E #C3BE78 #D6D2A2
Accessibility & contrast
On white
2.44
#AFA94E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.61
#AFA94E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA94E
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA94E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA94E | 1.00 | 2.44 | 8.61 | 8.61 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A345
Deuteranopia (green-blind)
#B8A853
Tritanopia (blue-blind)
#BB9F95
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #afa94e; /* rgb */ color: rgb(175, 169, 78); /* oklch */ color: oklch(72.1% 0.114 105.4);
Tailwind
colors: {
custom: {
50: '#c9c282',
500: '#afa94e',
950: '#000000',
},
}SCSS
$custom: #afa94e; $custom-light: #c9c282; $custom-dark: #000000;
JSON
{
"hex": "#afa94e",
"rgb": {
"r": 175,
"g": 169,
"b": 78
},
"hsl": {
"h": 56.289,
"s": 38.34,
"l": 49.608
},
"oklch": {
"l": 0.72112,
"c": 0.11354,
"h": 105.4
},
"luminance": 0.3804
}Semantic roles & 50–950 ramp
primary
#AFA94E
secondary
#9699C3
accent
#61CE5A
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#13120B
muted
#82817C