#A8A76A#A8A76A
#A8A76A is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.5% C 0.082 H 107.5°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A76A |
|---|---|
| RGB | rgb(168, 167, 106) |
| HSL | hsl(59, 26%, 54%) |
| HSV | hsv(59, 37%, 66%) |
| CMYK | cmyk(0%, 0.6%, 36.9%, 34.1%) |
| CIE-LAB | lab(67.28, -9.08, 31.71) |
| CIE-LCH | lch(67.28, 32.98, 105.98°) |
| OKLab | oklab(71.47% -0.0245 0.0778) |
| OKLCH | oklch(71.47% 0.082 107.5) |
| XYZ | xyz(32.5691, 37.0035, 19.0596) |
| Luminance | 0.3700 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.78
Darkkhaki
#BDB76B
ΔE00 5.65
Sand
#C2B280
ΔE00 7.07
Moss Green
#8A9A5B
ΔE00 7.11
Dark Khaki
#9B8F55
ΔE00 7.81
Tan Green
#A9BE70
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A76A #6A6BA8
analogous
#A8886A #A8A76A #8AA86A
triadic
#A8A76A #6AA8A7 #A76AA8
tetradic
#A8A76A #6AA888 #6A6BA8 #A86A8A
square
#A8A76A #6AA888 #6A6BA8 #A86A8A
split-complementary
#A8A76A #6A8AA8 #886AA8
monochromatic
#605F38 #86854E #A8A76A #BFBE91 #D5D5B7
Accessibility & contrast
On white
2.50
#A8A76A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.40
#A8A76A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A76A
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A76A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A76A | 1.00 | 2.50 | 8.40 | 8.40 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B0A266
Deuteranopia (green-blind)
#B2A56D
Tritanopia (blue-blind)
#B0A098
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a8a76a; /* rgb */ color: rgb(168, 167, 106); /* oklch */ color: oklch(71.5% 0.082 107.5);
Tailwind
colors: {
custom: {
50: '#c3c195',
500: '#a8a76a',
950: '#000000',
},
}SCSS
$custom: #a8a76a; $custom-light: #c3c195; $custom-dark: #000000;
JSON
{
"hex": "#a8a76a",
"rgb": {
"r": 168,
"g": 167,
"b": 106
},
"hsl": {
"h": 59.032,
"s": 26.271,
"l": 53.725
},
"oklch": {
"l": 0.71474,
"c": 0.08159,
"h": 107.5
},
"luminance": 0.37003
}Semantic roles & 50–950 ramp
primary
#A8A76A
secondary
#AAAAC4
accent
#67C365
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120D
muted
#81817E