#AFA56A#AFA56A
#AFA56A is a light, moderate yellow. Relative luminance 0.371; OKLCH L 71.7% C 0.079 H 99.8°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA56A |
|---|---|
| RGB | rgb(175, 165, 106) |
| HSL | hsl(51, 30%, 55%) |
| HSV | hsv(51, 39%, 69%) |
| CMYK | cmyk(0%, 5.7%, 39.4%, 31.4%) |
| CIE-LAB | lab(67.33, -5.15, 31.88) |
| CIE-LCH | lch(67.33, 32.30, 99.17°) |
| OKLab | oklab(71.66% -0.0135 0.0782) |
| OKLCH | oklch(71.66% 0.079 99.8) |
| XYZ | xyz(33.7365, 37.0658, 19.0102) |
| Luminance | 0.3706 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.63
Sand
#C2B280
ΔE00 5.22
Darkkhaki
#BDB76B
ΔE00 5.78
Sandy Brown
#C4A661
ΔE00 6.62
Sandstone
#C9AE74
ΔE00 6.70
Dark Khaki
#9B8F55
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA56A #6A74AF
analogous
#AF826A #AFA56A #97AF6A
triadic
#AFA56A #6AAFA5 #A56AAF
tetradic
#AFA56A #6AAF82 #6A74AF #AF6A97
square
#AFA56A #6AAF82 #6A74AF #AF6A97
split-complementary
#AFA56A #6A97AF #826AAF
monochromatic
#676037 #8F854D #AFA56A #C4BD92 #DAD5BA
Accessibility & contrast
On white
2.50
#AFA56A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.41
#AFA56A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA56A
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA56A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA56A | 1.00 | 2.50 | 8.41 | 8.41 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B0A266
Deuteranopia (green-blind)
#B3A66C
Tritanopia (blue-blind)
#B99D96
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #afa56a; /* rgb */ color: rgb(175, 165, 106); /* oklch */ color: oklch(71.7% 0.079 99.8);
Tailwind
colors: {
custom: {
50: '#c8bf95',
500: '#afa56a',
950: '#000000',
},
}SCSS
$custom: #afa56a; $custom-light: #c8bf95; $custom-dark: #000000;
JSON
{
"hex": "#afa56a",
"rgb": {
"r": 175,
"g": 165,
"b": 106
},
"hsl": {
"h": 51.304,
"s": 30.131,
"l": 55.098
},
"oklch": {
"l": 0.71655,
"c": 0.07933,
"h": 99.8
},
"luminance": 0.37065
}Semantic roles & 50–950 ramp
primary
#AFA56A
secondary
#ACB0C9
accent
#70C661
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120D
muted
#82817E