#AFA997#AFA997
#AFA997 is a light, muted yellow. Relative luminance 0.397; OKLCH L 73.5% C 0.026 H 91.7°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA997 |
|---|---|
| RGB | rgb(175, 169, 151) |
| HSL | hsl(45, 13%, 64%) |
| HSV | hsv(45, 14%, 69%) |
| CMYK | cmyk(0%, 3.4%, 13.7%, 31.4%) |
| CIE-LAB | lab(69.27, -0.99, 10.06) |
| CIE-LCH | lch(69.27, 10.11, 95.62°) |
| OKLab | oklab(73.48% -0.0008 0.0262) |
| OKLCH | oklch(73.48% 0.026 91.7) |
| XYZ | xyz(37.4526, 39.7247, 34.9668) |
| Luminance | 0.3972 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greyish
#A8A495
ΔE00 2.04
Cement
#A5A391
ΔE00 2.87
Greige
#B8AB98
ΔE00 3.58
Stone
#A89F91
ΔE00 3.83
Bland
#AFA88B
ΔE00 3.93
Stone (survey)
#ADA587
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA997 #979DAF
analogous
#AF9D97 #AFA997 #A9AF97
triadic
#AFA997 #97AFA9 #A997AF
tetradic
#AFA997 #97AF9D #979DAF #AF97A9
square
#AFA997 #97AF9D #979DAF #AF97A9
split-complementary
#AFA997 #97A9AF #9D97AF
monochromatic
#736C59 #948C74 #AFA997 #CAC6BA #E4E2DC
Accessibility & contrast
On white
2.35
#AFA997 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.94
#AFA997 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA997
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA997 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA997 | 1.00 | 2.35 | 8.94 | 8.94 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ADA896
Deuteranopia (green-blind)
#AFAA98
Tritanopia (blue-blind)
#B3A6A4
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #afa997; /* rgb */ color: rgb(175, 169, 151); /* oklch */ color: oklch(73.5% 0.026 91.7);
Tailwind
colors: {
custom: {
50: '#c7c2b5',
500: '#afa997',
950: '#000000',
},
}SCSS
$custom: #afa997; $custom-light: #c7c2b5; $custom-dark: #000000;
JSON
{
"hex": "#afa997",
"rgb": {
"r": 175,
"g": 169,
"b": 151
},
"hsl": {
"h": 45,
"s": 13.043,
"l": 63.922
},
"oklch": {
"l": 0.73478,
"c": 0.02616,
"h": 91.7
},
"luminance": 0.39724
}Semantic roles & 50–950 ramp
primary
#AFA997
secondary
#CDCFD5
accent
#61974E
background
#FCFBFB
surface
#F8F7F6
border
#D1D0D0
text
#131211
muted
#828180