#AFA882#AFA882
#AFA882 is a light, muted yellow. Relative luminance 0.387; OKLCH L 72.8% C 0.053 H 98.8°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA882 |
|---|---|
| RGB | rgb(175, 168, 130) |
| HSL | hsl(51, 22%, 60%) |
| HSV | hsv(51, 26%, 69%) |
| CMYK | cmyk(0%, 4%, 25.7%, 31.4%) |
| CIE-LAB | lab(68.56, -3.67, 20.59) |
| CIE-LCH | lch(68.56, 20.91, 100.12°) |
| OKLab | oklab(72.77% -0.0081 0.0522) |
| OKLCH | oklch(72.77% 0.053 98.8) |
| XYZ | xyz(35.7112, 38.7316, 26.7095) |
| Luminance | 0.3873 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Stone (survey)
#ADA587
ΔE00 2.63
Bland
#AFA88B
ΔE00 2.75
Putty
#BEAE8A
ΔE00 4.60
Sand
#C2B280
ΔE00 5.22
Cement
#A5A391
ΔE00 6.73
Khaki
#C3B091
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA882 #8289AF
analogous
#AF9282 #AFA882 #9FAF82
triadic
#AFA882 #82AFA8 #A882AF
tetradic
#AFA882 #82AF92 #8289AF #AF829F
square
#AFA882 #82AF92 #8289AF #AF829F
split-complementary
#AFA882 #829FAF #9282AF
monochromatic
#6F6947 #958C5F #AFA882 #C7C2A7 #DFDCCD
Accessibility & contrast
On white
2.40
#AFA882 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.75
#AFA882 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA882
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA882 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA882 | 1.00 | 2.40 | 8.75 | 8.75 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B0A680
Deuteranopia (green-blind)
#B2A883
Tritanopia (blue-blind)
#B6A39E
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #afa882; /* rgb */ color: rgb(175, 168, 130); /* oklch */ color: oklch(72.8% 0.053 98.8);
Tailwind
colors: {
custom: {
50: '#c7c1a6',
500: '#afa882',
950: '#000000',
},
}SCSS
$custom: #afa882; $custom-light: #c7c1a6; $custom-dark: #000000;
JSON
{
"hex": "#afa882",
"rgb": {
"r": 175,
"g": 168,
"b": 130
},
"hsl": {
"h": 50.667,
"s": 21.951,
"l": 59.804
},
"oklch": {
"l": 0.72765,
"c": 0.0528,
"h": 98.8
},
"luminance": 0.38731
}Semantic roles & 50–950 ramp
primary
#AFA882
secondary
#BEC0CF
accent
#77BE69
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F