#AFA97E#AFA97E
#AFA97E is a light, muted yellow. Relative luminance 0.390; OKLCH L 72.9% C 0.059 H 101.0°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA97E |
|---|---|
| RGB | rgb(175, 169, 126) |
| HSL | hsl(53, 23%, 59%) |
| HSV | hsv(53, 28%, 69%) |
| CMYK | cmyk(0%, 3.4%, 28%, 31.4%) |
| CIE-LAB | lab(68.75, -4.77, 23.03) |
| CIE-LCH | lch(68.75, 23.51, 101.70°) |
| OKLab | oklab(72.89% -0.0113 0.058) |
| OKLCH | oklch(72.89% 0.059 101) |
| XYZ | xyz(35.6332, 38.9970, 25.3847) |
| Luminance | 0.3900 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Stone (survey)
#ADA587
ΔE00 4.07
Bland
#AFA88B
ΔE00 4.18
Sand
#C2B280
ΔE00 4.85
Putty
#BEAE8A
ΔE00 5.34
Khaki (survey)
#AAA662
ΔE00 5.82
Darkkhaki
#BDB76B
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA97E #7E84AF
analogous
#AF917E #AFA97E #9DAF7E
triadic
#AFA97E #7EAFA9 #A97EAF
tetradic
#AFA97E #7EAF91 #7E84AF #AF7E9D
square
#AFA97E #7EAF91 #7E84AF #AF7E9D
split-complementary
#AFA97E #7E9DAF #917EAF
monochromatic
#6E6944 #948D5C #AFA97E #C6C2A4 #DEDBCA
Accessibility & contrast
On white
2.39
#AFA97E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.80
#AFA97E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA97E
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA97E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA97E | 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)
#B1A67B
Deuteranopia (green-blind)
#B3A980
Tritanopia (blue-blind)
#B6A39E
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #afa97e; /* rgb */ color: rgb(175, 169, 126); /* oklch */ color: oklch(72.9% 0.059 101.0);
Tailwind
colors: {
custom: {
50: '#c7c2a3',
500: '#afa97e',
950: '#000000',
},
}SCSS
$custom: #afa97e; $custom-light: #c7c2a3; $custom-dark: #000000;
JSON
{
"hex": "#afa97e",
"rgb": {
"r": 175,
"g": 169,
"b": 126
},
"hsl": {
"h": 52.653,
"s": 23.445,
"l": 59.02
},
"oklch": {
"l": 0.72893,
"c": 0.05908,
"h": 101
},
"luminance": 0.38996
}Semantic roles & 50–950 ramp
primary
#AFA97E
secondary
#BBBDCE
accent
#73C068
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F