#AFA981#AFA981
#AFA981 is a light, muted yellow. Relative luminance 0.391; OKLCH L 73.0% C 0.055 H 100.5°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA981 |
|---|---|
| RGB | rgb(175, 169, 129) |
| HSL | hsl(52, 22%, 60%) |
| HSV | hsv(52, 26%, 69%) |
| CMYK | cmyk(0%, 3.4%, 26.3%, 31.4%) |
| CIE-LAB | lab(68.81, -4.35, 21.47) |
| CIE-LCH | lch(68.81, 21.91, 101.45°) |
| OKLab | oklab(72.96% -0.01 0.0543) |
| OKLCH | oklch(72.96% 0.055 100.5) |
| XYZ | xyz(35.8297, 39.0756, 26.4195) |
| Luminance | 0.3907 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Stone (survey)
#ADA587
ΔE00 3.35
Bland
#AFA88B
ΔE00 3.40
Putty
#BEAE8A
ΔE00 5.02
Sand
#C2B280
ΔE00 5.10
Khaki (survey)
#AAA662
ΔE00 6.60
Cement
#A5A391
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA981 #8187AF
analogous
#AF9281 #AFA981 #9EAF81
triadic
#AFA981 #81AFA9 #A981AF
tetradic
#AFA981 #81AF92 #8187AF #AF819E
square
#AFA981 #81AF92 #8187AF #AF819E
split-complementary
#AFA981 #819EAF #9281AF
monochromatic
#6F6A47 #958D5E #AFA981 #C7C3A6 #DFDCCC
Accessibility & contrast
On white
2.38
#AFA981 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.82
#AFA981 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA981
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA981 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA981 | 1.00 | 2.38 | 8.82 | 8.82 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1A67E
Deuteranopia (green-blind)
#B3A982
Tritanopia (blue-blind)
#B6A39E
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #afa981; /* rgb */ color: rgb(175, 169, 129); /* oklch */ color: oklch(73.0% 0.055 100.5);
Tailwind
colors: {
custom: {
50: '#c7c2a5',
500: '#afa981',
950: '#000000',
},
}SCSS
$custom: #afa981; $custom-light: #c7c2a5; $custom-dark: #000000;
JSON
{
"hex": "#afa981",
"rgb": {
"r": 175,
"g": 169,
"b": 129
},
"hsl": {
"h": 52.174,
"s": 22.33,
"l": 59.608
},
"oklch": {
"l": 0.72956,
"c": 0.05523,
"h": 100.5
},
"luminance": 0.39075
}Semantic roles & 50–950 ramp
primary
#AFA981
secondary
#BDBFCF
accent
#74BF69
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F