#AFAA97#AFAA97
#AFAA97 is a light, muted yellow. Relative luminance 0.401; OKLCH L 73.7% C 0.027 H 94.8°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAA97 |
|---|---|
| RGB | rgb(175, 170, 151) |
| HSL | hsl(48, 13%, 64%) |
| HSV | hsv(48, 14%, 69%) |
| CMYK | cmyk(0%, 2.9%, 13.7%, 31.4%) |
| CIE-LAB | lab(69.54, -1.53, 10.44) |
| CIE-LCH | lch(69.54, 10.55, 98.34°) |
| OKLab | oklab(73.69% -0.0023 0.0271) |
| OKLCH | oklch(73.69% 0.027 94.8) |
| XYZ | xyz(37.6394, 40.0982, 35.0290) |
| Luminance | 0.4010 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greyish
#A8A495
ΔE00 2.33
Cement
#A5A391
ΔE00 2.67
Bland
#AFA88B
ΔE00 3.54
Stone (survey)
#ADA587
ΔE00 4.12
Greige
#B8AB98
ΔE00 4.16
Stone
#A89F91
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAA97 #979CAF
analogous
#AF9E97 #AFAA97 #A8AF97
triadic
#AFAA97 #97AFAA #AA97AF
tetradic
#AFAA97 #97AF9E #979CAF #AF97A8
square
#AFAA97 #97AF9E #979CAF #AF97A8
split-complementary
#AFAA97 #97A8AF #9E97AF
monochromatic
#736E59 #948E74 #AFAA97 #CAC6BA #E4E3DC
Accessibility & contrast
On white
2.33
#AFAA97 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.02
#AFAA97 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAA97
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAA97 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAA97 | 1.00 | 2.33 | 9.02 | 9.02 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AEA996
Deuteranopia (green-blind)
#B0AB98
Tritanopia (blue-blind)
#B3A7A5
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #afaa97; /* rgb */ color: rgb(175, 170, 151); /* oklch */ color: oklch(73.7% 0.027 94.8);
Tailwind
colors: {
custom: {
50: '#c7c3b5',
500: '#afaa97',
950: '#000000',
},
}SCSS
$custom: #afaa97; $custom-light: #c7c3b5; $custom-dark: #000000;
JSON
{
"hex": "#afaa97",
"rgb": {
"r": 175,
"g": 170,
"b": 151
},
"hsl": {
"h": 47.5,
"s": 13.043,
"l": 63.922
},
"oklch": {
"l": 0.73688,
"c": 0.02721,
"h": 94.8
},
"luminance": 0.40098
}Semantic roles & 50–950 ramp
primary
#AFAA97
secondary
#CDCED5
accent
#5E974E
background
#FCFBFB
surface
#F8F7F6
border
#D1D0D0
text
#131211
muted
#828180