#AFA97A#AFA97A
#AFA97A is a light, moderate yellow. Relative luminance 0.389; OKLCH L 72.8% C 0.064 H 101.7°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA97A |
|---|---|
| RGB | rgb(175, 169, 122) |
| HSL | hsl(53, 25%, 58%) |
| HSV | hsv(53, 30%, 69%) |
| CMYK | cmyk(0%, 3.4%, 30.3%, 31.4%) |
| CIE-LAB | lab(68.68, -5.31, 25.09) |
| CIE-LCH | lch(68.68, 25.65, 101.94°) |
| OKLab | oklab(72.81% -0.013 0.0628) |
| OKLCH | oklch(72.81% 0.064 101.7) |
| XYZ | xyz(35.3803, 38.8958, 24.0524) |
| Luminance | 0.3890 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.69
Khaki (survey)
#AAA662
ΔE00 4.83
Stone (survey)
#ADA587
ΔE00 5.02
Bland
#AFA88B
ΔE00 5.18
Putty
#BEAE8A
ΔE00 5.84
Darkkhaki
#BDB76B
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA97A #7A80AF
analogous
#AF8E7A #AFA97A #9AAF7A
triadic
#AFA97A #7AAFA9 #A97AAF
tetradic
#AFA97A #7AAF8E #7A80AF #AF7A9A
square
#AFA97A #7AAF8E #7A80AF #AF7A9A
split-complementary
#AFA97A #7A9AAF #8E7AAF
monochromatic
#6D6842 #938D59 #AFA97A #C6C2A0 #DDDAC6
Accessibility & contrast
On white
2.39
#AFA97A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.78
#AFA97A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA97A
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA97A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA97A | 1.00 | 2.39 | 8.78 | 8.78 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2A677
Deuteranopia (green-blind)
#B4A97C
Tritanopia (blue-blind)
#B7A39D
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #afa97a; /* rgb */ color: rgb(175, 169, 122); /* oklch */ color: oklch(72.8% 0.064 101.7);
Tailwind
colors: {
custom: {
50: '#c7c2a0',
500: '#afa97a',
950: '#000000',
},
}SCSS
$custom: #afa97a; $custom-light: #c7c2a0; $custom-dark: #000000;
JSON
{
"hex": "#afa97a",
"rgb": {
"r": 175,
"g": 169,
"b": 122
},
"hsl": {
"h": 53.208,
"s": 24.883,
"l": 58.235
},
"oklch": {
"l": 0.72811,
"c": 0.06417,
"h": 101.7
},
"luminance": 0.38895
}Semantic roles & 50–950 ramp
primary
#AFA97A
secondary
#B8BACD
accent
#71C166
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120F
muted
#82817E