#AFA97C#AFA97C
#AFA97C is a light, moderate yellow. Relative luminance 0.389; OKLCH L 72.9% C 0.062 H 101.4°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA97C |
|---|---|
| RGB | rgb(175, 169, 124) |
| HSL | hsl(53, 24%, 59%) |
| HSV | hsv(53, 29%, 69%) |
| CMYK | cmyk(0%, 3.4%, 29.1%, 31.4%) |
| CIE-LAB | lab(68.71, -5.04, 24.06) |
| CIE-LCH | lch(68.71, 24.58, 101.83°) |
| OKLab | oklab(72.85% -0.0122 0.0604) |
| OKLCH | oklch(72.85% 0.062 101.4) |
| XYZ | xyz(35.5055, 38.9459, 24.7118) |
| Luminance | 0.3895 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Stone (survey)
#ADA587
ΔE00 4.55
Bland
#AFA88B
ΔE00 4.69
Sand
#C2B280
ΔE00 4.74
Khaki (survey)
#AAA662
ΔE00 5.32
Putty
#BEAE8A
ΔE00 5.58
Darkkhaki
#BDB76B
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA97C #7C82AF
analogous
#AF8F7C #AFA97C #9BAF7C
triadic
#AFA97C #7CAFA9 #A97CAF
tetradic
#AFA97C #7CAF8F #7C82AF #AF7C9B
square
#AFA97C #7CAF8F #7C82AF #AF7C9B
split-complementary
#AFA97C #7C9BAF #8F7CAF
monochromatic
#6E6943 #948D5A #AFA97C #C6C2A2 #DDDBC8
Accessibility & contrast
On white
2.39
#AFA97C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.79
#AFA97C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA97C
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA97C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA97C | 1.00 | 2.39 | 8.79 | 8.79 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1A679
Deuteranopia (green-blind)
#B3A97E
Tritanopia (blue-blind)
#B7A39D
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #afa97c; /* rgb */ color: rgb(175, 169, 124); /* oklch */ color: oklch(72.9% 0.062 101.4);
Tailwind
colors: {
custom: {
50: '#c7c2a2',
500: '#afa97c',
950: '#000000',
},
}SCSS
$custom: #afa97c; $custom-light: #c7c2a2; $custom-dark: #000000;
JSON
{
"hex": "#afa97c",
"rgb": {
"r": 175,
"g": 169,
"b": 124
},
"hsl": {
"h": 52.941,
"s": 24.171,
"l": 58.627
},
"oklch": {
"l": 0.72851,
"c": 0.06164,
"h": 101.4
},
"luminance": 0.38945
}Semantic roles & 50–950 ramp
primary
#AFA97C
secondary
#B9BCCD
accent
#72C167
background
#FCFBFA
surface
#F8F7F3
border
#D1D0CD
text
#13120F
muted
#82817F