#AFAE8D#AFAE8D
#AFAE8D is a light, muted yellow. Relative luminance 0.413; OKLCH L 74.3% C 0.046 H 106.0°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAE8D |
|---|---|
| RGB | rgb(175, 174, 141) |
| HSL | hsl(58, 18%, 62%) |
| HSV | hsv(58, 19%, 69%) |
| CMYK | cmyk(0%, 0.6%, 19.4%, 31.4%) |
| CIE-LAB | lab(70.39, -5.26, 17.12) |
| CIE-LCH | lch(70.39, 17.91, 107.09°) |
| OKLab | oklab(74.29% -0.0126 0.0438) |
| OKLCH | oklch(74.29% 0.046 106) |
| XYZ | xyz(37.6227, 41.3096, 31.1857) |
| Luminance | 0.4131 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bland
#AFA88B
ΔE00 3.38
Stone (survey)
#ADA587
ΔE00 4.01
Cement
#A5A391
ΔE00 5.92
Putty
#BEAE8A
ΔE00 6.41
Sand
#C2B280
ΔE00 7.06
Greyish
#A8A495
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAE8D #8D8EAF
analogous
#AF9D8D #AFAE8D #9FAF8D
triadic
#AFAE8D #8DAFAE #AE8DAF
tetradic
#AFAE8D #8DAF9D #8D8EAF #AF8D9F
square
#AFAE8D #8DAF9D #8D8EAF #AF8D9F
split-complementary
#AFAE8D #8D9FAF #9D8DAF
monochromatic
#727150 #969469 #AFAE8D #C8C8B1 #E1E1D5
Accessibility & contrast
On white
2.27
#AFAE8D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.26
#AFAE8D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAE8D
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAE8D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAE8D | 1.00 | 2.27 | 9.26 | 9.26 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4AB8B
Deuteranopia (green-blind)
#B5AD8E
Tritanopia (blue-blind)
#B4AAA5
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #afae8d; /* rgb */ color: rgb(175, 174, 141); /* oklch */ color: oklch(74.3% 0.046 106.0);
Tailwind
colors: {
custom: {
50: '#c7c6ae',
500: '#afae8d',
950: '#000000',
},
}SCSS
$custom: #afae8d; $custom-light: #c7c6ae; $custom-dark: #000000;
JSON
{
"hex": "#afae8d",
"rgb": {
"r": 175,
"g": 174,
"b": 141
},
"hsl": {
"h": 58.235,
"s": 17.526,
"l": 61.961
},
"oklch": {
"l": 0.74289,
"c": 0.04556,
"h": 106
},
"luminance": 0.41309
}Semantic roles & 50–950 ramp
primary
#AFAE8D
secondary
#C6C6D2
accent
#4C9C4A
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131310
muted
#82827F