#AFA976#AFA976
#AFA976 is a light, moderate yellow. Relative luminance 0.388; OKLCH L 72.7% C 0.069 H 102.3°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA976 |
|---|---|
| RGB | rgb(175, 169, 118) |
| HSL | hsl(54, 26%, 57%) |
| HSV | hsv(54, 33%, 69%) |
| CMYK | cmyk(0%, 3.4%, 32.6%, 31.4%) |
| CIE-LAB | lab(68.61, -5.83, 27.15) |
| CIE-LCH | lch(68.61, 27.77, 102.11°) |
| OKLab | oklab(72.73% -0.0147 0.0676) |
| OKLCH | oklch(72.73% 0.069 102.3) |
| XYZ | xyz(35.1375, 38.7987, 22.7739) |
| Luminance | 0.3880 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.90
Sand
#C2B280
ΔE00 4.73
Stone (survey)
#ADA587
ΔE00 5.92
Bland
#AFA88B
ΔE00 6.11
Darkkhaki
#BDB76B
ΔE00 6.15
Putty
#BEAE8A
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA976 #767CAF
analogous
#AF8C76 #AFA976 #99AF76
triadic
#AFA976 #76AFA9 #A976AF
tetradic
#AFA976 #76AF8C #767CAF #AF7699
square
#AFA976 #76AF8C #767CAF #AF7699
split-complementary
#AFA976 #7699AF #8C76AF
monochromatic
#6C673F #928C55 #AFA976 #C6C19D #DCDAC3
Accessibility & contrast
On white
2.40
#AFA976 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.76
#AFA976 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA976
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA976 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA976 | 1.00 | 2.40 | 8.76 | 8.76 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2A672
Deuteranopia (green-blind)
#B4A978
Tritanopia (blue-blind)
#B7A29C
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #afa976; /* rgb */ color: rgb(175, 169, 118); /* oklch */ color: oklch(72.7% 0.069 102.3);
Tailwind
colors: {
custom: {
50: '#c7c29e',
500: '#afa976',
950: '#000000',
},
}SCSS
$custom: #afa976; $custom-light: #c7c29e; $custom-dark: #000000;
JSON
{
"hex": "#afa976",
"rgb": {
"r": 175,
"g": 169,
"b": 118
},
"hsl": {
"h": 53.684,
"s": 26.267,
"l": 57.451
},
"oklch": {
"l": 0.72732,
"c": 0.06919,
"h": 102.3
},
"luminance": 0.38798
}Semantic roles & 50–950 ramp
primary
#AFA976
secondary
#B5B7CC
accent
#6FC365
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E