#AFA98A#AFA98A
#AFA98A is a light, muted yellow. Relative luminance 0.393; OKLCH L 73.2% C 0.043 H 98.3°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA98A |
|---|---|
| RGB | rgb(175, 169, 138) |
| HSL | hsl(50, 19%, 61%) |
| HSV | hsv(50, 21%, 69%) |
| CMYK | cmyk(0%, 3.4%, 21.1%, 31.4%) |
| CIE-LAB | lab(68.99, -3.04, 16.81) |
| CIE-LCH | lch(68.99, 17.08, 100.26°) |
| OKLab | oklab(73.16% -0.0062 0.043) |
| OKLCH | oklch(73.16% 0.043 98.3) |
| XYZ | xyz(36.4545, 39.3255, 29.7100) |
| Luminance | 0.3932 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bland
#AFA88B
ΔE00 0.89
Stone (survey)
#ADA587
ΔE00 1.47
Putty
#BEAE8A
ΔE00 4.68
Cement
#A5A391
ΔE00 4.88
Greyish
#A8A495
ΔE00 5.79
Sand
#C2B280
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA98A #8A90AF
analogous
#AF978A #AFA98A #A3AF8A
triadic
#AFA98A #8AAFA9 #A98AAF
tetradic
#AFA98A #8AAF97 #8A90AF #AF8AA3
square
#AFA98A #8AAF97 #8A90AF #AF8AA3
split-complementary
#AFA98A #8AA3AF #978AAF
monochromatic
#716B4D #968E66 #AFA98A #C8C4AE #E1DED3
Accessibility & contrast
On white
2.37
#AFA98A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.86
#AFA98A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA98A
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA98A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA98A | 1.00 | 2.37 | 8.86 | 8.86 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AFA788
Deuteranopia (green-blind)
#B1A98B
Tritanopia (blue-blind)
#B5A4A0
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #afa98a; /* rgb */ color: rgb(175, 169, 138); /* oklch */ color: oklch(73.2% 0.043 98.3);
Tailwind
colors: {
custom: {
50: '#c7c2ac',
500: '#afa98a',
950: '#000000',
},
}SCSS
$custom: #afa98a; $custom-light: #c7c2ac; $custom-dark: #000000;
JSON
{
"hex": "#afa98a",
"rgb": {
"r": 175,
"g": 169,
"b": 138
},
"hsl": {
"h": 50.27,
"s": 18.782,
"l": 61.373
},
"oklch": {
"l": 0.73158,
"c": 0.04345,
"h": 98.3
},
"luminance": 0.39325
}Semantic roles & 50–950 ramp
primary
#AFA98A
secondary
#C3C6D1
accent
#569D48
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#131210
muted
#82817F