#AFA97F#AFA97F
#AFA97F is a light, muted yellow. Relative luminance 0.390; OKLCH L 72.9% C 0.058 H 100.9°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA97F |
|---|---|
| RGB | rgb(175, 169, 127) |
| HSL | hsl(53, 23%, 59%) |
| HSV | hsv(53, 27%, 69%) |
| CMYK | cmyk(0%, 3.4%, 27.4%, 31.4%) |
| CIE-LAB | lab(68.77, -4.63, 22.51) |
| CIE-LCH | lch(68.77, 22.98, 101.62°) |
| OKLab | oklab(72.91% -0.0109 0.0568) |
| OKLCH | oklch(72.91% 0.058 100.9) |
| XYZ | xyz(35.6981, 39.0229, 25.7262) |
| Luminance | 0.3902 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Stone (survey)
#ADA587
ΔE00 3.83
Bland
#AFA88B
ΔE00 3.93
Sand
#C2B280
ΔE00 4.92
Putty
#BEAE8A
ΔE00 5.22
Khaki (survey)
#AAA662
ΔE00 6.08
Cement
#A5A391
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA97F #7F85AF
analogous
#AF917F #AFA97F #9DAF7F
triadic
#AFA97F #7FAFA9 #A97FAF
tetradic
#AFA97F #7FAF91 #7F85AF #AF7F9D
square
#AFA97F #7FAF91 #7F85AF #AF7F9D
split-complementary
#AFA97F #7F9DAF #917FAF
monochromatic
#6F6945 #948D5D #AFA97F #C7C2A5 #DEDCCA
Accessibility & contrast
On white
2.39
#AFA97F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.80
#AFA97F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA97F
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA97F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA97F | 1.00 | 2.39 | 8.80 | 8.80 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1A67C
Deuteranopia (green-blind)
#B3A980
Tritanopia (blue-blind)
#B6A39E
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #afa97f; /* rgb */ color: rgb(175, 169, 127); /* oklch */ color: oklch(72.9% 0.058 100.9);
Tailwind
colors: {
custom: {
50: '#c7c2a4',
500: '#afa97f',
950: '#000000',
},
}SCSS
$custom: #afa97f; $custom-light: #c7c2a4; $custom-dark: #000000;
JSON
{
"hex": "#afa97f",
"rgb": {
"r": 175,
"g": 169,
"b": 127
},
"hsl": {
"h": 52.5,
"s": 23.077,
"l": 59.216
},
"oklch": {
"l": 0.72914,
"c": 0.05781,
"h": 100.9
},
"luminance": 0.39022
}Semantic roles & 50–950 ramp
primary
#AFA97F
secondary
#BCBECE
accent
#73C068
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F