#A8A77A#A8A77A
#A8A77A is a light, moderate yellow. Relative luminance 0.374; OKLCH L 71.8% C 0.062 H 106.8°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A77A |
|---|---|
| RGB | rgb(168, 167, 122) |
| HSL | hsl(59, 21%, 57%) |
| HSV | hsv(59, 27%, 66%) |
| CMYK | cmyk(0%, 0.6%, 27.4%, 34.1%) |
| CIE-LAB | lab(67.55, -7.02, 23.48) |
| CIE-LCH | lch(67.55, 24.51, 106.65°) |
| OKLab | oklab(71.78% -0.0178 0.059) |
| OKLCH | oklch(71.78% 0.062 106.8) |
| XYZ | xyz(33.4801, 37.3679, 23.8576) |
| Luminance | 0.3737 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 5.27
Stone (survey)
#ADA587
ΔE00 5.41
Bland
#AFA88B
ΔE00 5.54
Sand
#C2B280
ΔE00 6.67
Sage Green
#9CAF88
ΔE00 7.03
Putty
#BEAE8A
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A77A #7A7BA8
analogous
#A8907A #A8A77A #92A87A
triadic
#A8A77A #7AA8A7 #A77AA8
tetradic
#A8A77A #7AA890 #7A7BA8 #A87A92
square
#A8A77A #7AA890 #7A7BA8 #A87A92
split-complementary
#A8A77A #7A92A8 #907AA8
monochromatic
#656542 #8A895A #A8A77A #C0BF9F #D8D8C4
Accessibility & contrast
On white
2.48
#A8A77A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.47
#A8A77A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A77A
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A77A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A77A | 1.00 | 2.48 | 8.47 | 8.47 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AFA377
Deuteranopia (green-blind)
#B0A57C
Tritanopia (blue-blind)
#AFA19B
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a8a77a; /* rgb */ color: rgb(168, 167, 122); /* oklch */ color: oklch(71.8% 0.062 106.8);
Tailwind
colors: {
custom: {
50: '#c2c1a0',
500: '#a8a77a',
950: '#000000',
},
}SCSS
$custom: #a8a77a; $custom-light: #c2c1a0; $custom-dark: #000000;
JSON
{
"hex": "#a8a77a",
"rgb": {
"r": 168,
"g": 167,
"b": 122
},
"hsl": {
"h": 58.696,
"s": 20.909,
"l": 56.863
},
"oklch": {
"l": 0.7178,
"c": 0.06166,
"h": 106.8
},
"luminance": 0.37367
}Semantic roles & 50–950 ramp
primary
#A8A77A
secondary
#B6B6C8
accent
#6CBD6A
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120F
muted
#81817E