#AFAB8A#AFAB8A
#AFAB8A is a light, muted yellow. Relative luminance 0.401; OKLCH L 73.6% C 0.046 H 101.7°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAB8A |
|---|---|
| RGB | rgb(175, 171, 138) |
| HSL | hsl(54, 19%, 61%) |
| HSV | hsv(54, 21%, 69%) |
| CMYK | cmyk(0%, 2.3%, 21.1%, 31.4%) |
| CIE-LAB | lab(69.52, -4.11, 17.55) |
| CIE-LCH | lch(69.52, 18.03, 103.19°) |
| OKLab | oklab(73.58% -0.0093 0.0448) |
| OKLCH | oklch(73.58% 0.046 101.7) |
| XYZ | xyz(36.8294, 40.0753, 29.8350) |
| Luminance | 0.4007 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bland
#AFA88B
ΔE00 2.11
Stone (survey)
#ADA587
ΔE00 2.63
Putty
#BEAE8A
ΔE00 5.30
Cement
#A5A391
ΔE00 5.50
Sand
#C2B280
ΔE00 6.40
Greyish
#A8A495
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAB8A #8A8EAF
analogous
#AF998A #AFAB8A #A1AF8A
triadic
#AFAB8A #8AAFAB #AB8AAF
tetradic
#AFAB8A #8AAF99 #8A8EAF #AF8AA1
square
#AFAB8A #8AAF99 #8A8EAF #AF8AA1
split-complementary
#AFAB8A #8AA1AF #998AAF
monochromatic
#716D4D #969066 #AFAB8A #C8C5AE #E1DFD3
Accessibility & contrast
On white
2.33
#AFAB8A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.01
#AFAB8A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAB8A
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAB8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAB8A | 1.00 | 2.33 | 9.01 | 9.01 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1A988
Deuteranopia (green-blind)
#B3AB8B
Tritanopia (blue-blind)
#B5A6A2
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #afab8a; /* rgb */ color: rgb(175, 171, 138); /* oklch */ color: oklch(73.6% 0.046 101.7);
Tailwind
colors: {
custom: {
50: '#c7c4ac',
500: '#afab8a',
950: '#000000',
},
}SCSS
$custom: #afab8a; $custom-light: #c7c4ac; $custom-dark: #000000;
JSON
{
"hex": "#afab8a",
"rgb": {
"r": 175,
"g": 171,
"b": 138
},
"hsl": {
"h": 53.514,
"s": 18.782,
"l": 61.373
},
"oklch": {
"l": 0.73582,
"c": 0.04579,
"h": 101.7
},
"luminance": 0.40075
}Semantic roles & 50–950 ramp
primary
#AFAB8A
secondary
#C3C5D1
accent
#529D48
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131210
muted
#82817F