#AFAC8A#AFAC8A
#AFAC8A is a light, muted yellow. Relative luminance 0.405; OKLCH L 73.8% C 0.047 H 103.3°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAC8A |
|---|---|
| RGB | rgb(175, 172, 138) |
| HSL | hsl(55, 19%, 61%) |
| HSV | hsv(55, 21%, 69%) |
| CMYK | cmyk(0%, 1.7%, 21.1%, 31.4%) |
| CIE-LAB | lab(69.79, -4.65, 17.92) |
| CIE-LCH | lch(69.79, 18.52, 104.54°) |
| OKLab | oklab(73.79% -0.0108 0.0458) |
| OKLCH | oklch(73.79% 0.047 103.3) |
| XYZ | xyz(37.0190, 40.4545, 29.8982) |
| Luminance | 0.4045 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bland
#AFA88B
ΔE00 2.70
Stone (survey)
#ADA587
ΔE00 3.20
Putty
#BEAE8A
ΔE00 5.66
Cement
#A5A391
ΔE00 5.87
Sand
#C2B280
ΔE00 6.43
Greyish
#A8A495
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAC8A #8A8DAF
analogous
#AF9A8A #AFAC8A #A0AF8A
triadic
#AFAC8A #8AAFAC #AC8AAF
tetradic
#AFAC8A #8AAF9A #8A8DAF #AF8AA0
square
#AFAC8A #8AAF9A #8A8DAF #AF8AA0
split-complementary
#AFAC8A #8AA0AF #9A8AAF
monochromatic
#716E4D #969266 #AFAC8A #C8C6AE #E1E0D3
Accessibility & contrast
On white
2.31
#AFAC8A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.09
#AFAC8A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAC8A
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAC8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAC8A | 1.00 | 2.31 | 9.09 | 9.09 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2A988
Deuteranopia (green-blind)
#B4AB8B
Tritanopia (blue-blind)
#B5A7A3
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #afac8a; /* rgb */ color: rgb(175, 172, 138); /* oklch */ color: oklch(73.8% 0.047 103.3);
Tailwind
colors: {
custom: {
50: '#c7c4ac',
500: '#afac8a',
950: '#000000',
},
}SCSS
$custom: #afac8a; $custom-light: #c7c4ac; $custom-dark: #000000;
JSON
{
"hex": "#afac8a",
"rgb": {
"r": 175,
"g": 172,
"b": 138
},
"hsl": {
"h": 55.135,
"s": 18.782,
"l": 61.373
},
"oklch": {
"l": 0.73794,
"c": 0.04701,
"h": 103.3
},
"luminance": 0.40454
}Semantic roles & 50–950 ramp
primary
#AFAC8A
secondary
#C3C5D1
accent
#4F9D48
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131210
muted
#82817F