#A8A76F#A8A76F
#A8A76F is a light, moderate yellow. Relative luminance 0.371; OKLCH L 71.6% C 0.076 H 107.3°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A76F |
|---|---|
| RGB | rgb(168, 167, 111) |
| HSL | hsl(59, 25%, 55%) |
| HSV | hsv(59, 34%, 66%) |
| CMYK | cmyk(0%, 0.6%, 33.9%, 34.1%) |
| CIE-LAB | lab(67.36, -8.47, 29.15) |
| CIE-LCH | lch(67.36, 30.36, 106.20°) |
| OKLab | oklab(71.56% -0.0224 0.0721) |
| OKLCH | oklch(71.56% 0.076 107.3) |
| XYZ | xyz(32.8367, 37.1106, 20.4691) |
| Luminance | 0.3711 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.75
Darkkhaki
#BDB76B
ΔE00 6.21
Sand
#C2B280
ΔE00 6.76
Moss Green
#8A9A5B
ΔE00 7.25
Stone (survey)
#ADA587
ΔE00 7.51
Bland
#AFA88B
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A76F #6F70A8
analogous
#A88A6F #A8A76F #8DA86F
triadic
#A8A76F #6FA8A7 #A76FA8
tetradic
#A8A76F #6FA88A #6F70A8 #A86F8D
square
#A8A76F #6FA88A #6F70A8 #A86F8D
split-complementary
#A8A76F #6F8DA8 #8A6FA8
monochromatic
#62613B #888752 #A8A76F #BFBE95 #D6D6BB
Accessibility & contrast
On white
2.49
#A8A76F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.42
#A8A76F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A76F
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A76F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A76F | 1.00 | 2.49 | 8.42 | 8.42 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B0A36B
Deuteranopia (green-blind)
#B1A571
Tritanopia (blue-blind)
#B0A099
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a8a76f; /* rgb */ color: rgb(168, 167, 111); /* oklch */ color: oklch(71.6% 0.076 107.3);
Tailwind
colors: {
custom: {
50: '#c2c199',
500: '#a8a76f',
950: '#000000',
},
}SCSS
$custom: #a8a76f; $custom-light: #c2c199; $custom-dark: #000000;
JSON
{
"hex": "#a8a76f",
"rgb": {
"r": 168,
"g": 167,
"b": 111
},
"hsl": {
"h": 58.947,
"s": 24.675,
"l": 54.706
},
"oklch": {
"l": 0.71564,
"c": 0.07552,
"h": 107.3
},
"luminance": 0.3711
}Semantic roles & 50–950 ramp
primary
#A8A76F
secondary
#ADAEC5
accent
#68C167
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120E
muted
#81817E