#AFA982#AFA982
#AFA982 is a light, muted yellow. Relative luminance 0.391; OKLCH L 73.0% C 0.054 H 100.3°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA982 |
|---|---|
| RGB | rgb(175, 169, 130) |
| HSL | hsl(52, 22%, 60%) |
| HSV | hsv(52, 26%, 69%) |
| CMYK | cmyk(0%, 3.4%, 25.7%, 31.4%) |
| CIE-LAB | lab(68.83, -4.21, 20.96) |
| CIE-LCH | lch(68.83, 21.37, 101.36°) |
| OKLab | oklab(72.98% -0.0096 0.0531) |
| OKLCH | oklch(72.98% 0.054 100.3) |
| XYZ | xyz(35.8965, 39.1023, 26.7713) |
| Luminance | 0.3910 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Stone (survey)
#ADA587
ΔE00 3.10
Bland
#AFA88B
ΔE00 3.13
Putty
#BEAE8A
ΔE00 4.93
Sand
#C2B280
ΔE00 5.21
Khaki (survey)
#AAA662
ΔE00 6.86
Cement
#A5A391
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA982 #8288AF
analogous
#AF9382 #AFA982 #9FAF82
triadic
#AFA982 #82AFA9 #A982AF
tetradic
#AFA982 #82AF93 #8288AF #AF829F
square
#AFA982 #82AF93 #8288AF #AF829F
split-complementary
#AFA982 #829FAF #9382AF
monochromatic
#6F6A47 #958E5F #AFA982 #C7C3A7 #DFDCCD
Accessibility & contrast
On white
2.38
#AFA982 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.82
#AFA982 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA982
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA982 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA982 | 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)
#B1A680
Deuteranopia (green-blind)
#B3A983
Tritanopia (blue-blind)
#B6A39E
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #afa982; /* rgb */ color: rgb(175, 169, 130); /* oklch */ color: oklch(73.0% 0.054 100.3);
Tailwind
colors: {
custom: {
50: '#c7c2a6',
500: '#afa982',
950: '#000000',
},
}SCSS
$custom: #afa982; $custom-light: #c7c2a6; $custom-dark: #000000;
JSON
{
"hex": "#afa982",
"rgb": {
"r": 175,
"g": 169,
"b": 130
},
"hsl": {
"h": 52,
"s": 21.951,
"l": 59.804
},
"oklch": {
"l": 0.72978,
"c": 0.05394,
"h": 100.3
},
"luminance": 0.39102
}Semantic roles & 50–950 ramp
primary
#AFA982
secondary
#BEC0CF
accent
#75BE69
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F