#AFAF8A#AFAF8A
#AFAF8A is a light, muted yellow. Relative luminance 0.416; OKLCH L 74.4% C 0.051 H 107.6°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAF8A |
|---|---|
| RGB | rgb(175, 175, 138) |
| HSL | hsl(60, 19%, 61%) |
| HSV | hsv(60, 21%, 69%) |
| CMYK | cmyk(0%, 0%, 21.1%, 31.4%) |
| CIE-LAB | lab(70.60, -6.25, 19.04) |
| CIE-LCH | lch(70.60, 20.04, 108.16°) |
| OKLab | oklab(74.43% -0.0154 0.0485) |
| OKLCH | oklch(74.43% 0.051 107.6) |
| XYZ | xyz(37.5964, 41.6093, 30.0907) |
| Luminance | 0.4161 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bland
#AFA88B
ΔE00 4.36
Stone (survey)
#ADA587
ΔE00 4.85
Sage Green
#9CAF88
ΔE00 6.54
Sand
#C2B280
ΔE00 6.72
Putty
#BEAE8A
ΔE00 6.80
Cement
#A5A391
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAF8A #8A8AAF
analogous
#AF9D8A #AFAF8A #9DAF8A
triadic
#AFAF8A #8AAFAF #AF8AAF
tetradic
#AFAF8A #8AAF9D #8A8AAF #AF8A9D
square
#AFAF8A #8AAF9D #8A8AAF #AF8A9D
split-complementary
#AFAF8A #8A9DAF #9D8AAF
monochromatic
#71714D #969666 #AFAF8A #C8C8AE #E1E1D3
Accessibility & contrast
On white
2.25
#AFAF8A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.32
#AFAF8A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAF8A
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAF8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAF8A | 1.00 | 2.25 | 9.32 | 9.32 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5AC88
Deuteranopia (green-blind)
#B6AD8B
Tritanopia (blue-blind)
#B5AAA5
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #afaf8a; /* rgb */ color: rgb(175, 175, 138); /* oklch */ color: oklch(74.4% 0.051 107.6);
Tailwind
colors: {
custom: {
50: '#c7c6ac',
500: '#afaf8a',
950: '#000000',
},
}SCSS
$custom: #afaf8a; $custom-light: #c7c6ac; $custom-dark: #000000;
JSON
{
"hex": "#afaf8a",
"rgb": {
"r": 175,
"g": 175,
"b": 138
},
"hsl": {
"h": 60,
"s": 18.782,
"l": 61.373
},
"oklch": {
"l": 0.74434,
"c": 0.05086,
"h": 107.6
},
"luminance": 0.41609
}Semantic roles & 50–950 ramp
primary
#AFAF8A
secondary
#C3C3D1
accent
#489D48
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131310
muted
#82827F