#A8A76B#A8A76B
#A8A76B is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.5% C 0.080 H 107.5°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A76B |
|---|---|
| RGB | rgb(168, 167, 107) |
| HSL | hsl(59, 26%, 54%) |
| HSV | hsv(59, 36%, 66%) |
| CMYK | cmyk(0%, 0.6%, 36.3%, 34.1%) |
| CIE-LAB | lab(67.30, -8.96, 31.20) |
| CIE-LCH | lch(67.30, 32.46, 106.02°) |
| OKLab | oklab(71.49% -0.0241 0.0767) |
| OKLCH | oklch(71.49% 0.08 107.5) |
| XYZ | xyz(32.6214, 37.0244, 19.3351) |
| Luminance | 0.3702 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.96
Darkkhaki
#BDB76B
ΔE00 5.75
Sand
#C2B280
ΔE00 6.99
Moss Green
#8A9A5B
ΔE00 7.13
Dark Khaki
#9B8F55
ΔE00 7.82
Tan Green
#A9BE70
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A76B #6B6CA8
analogous
#A8896B #A8A76B #8BA86B
triadic
#A8A76B #6BA8A7 #A76BA8
tetradic
#A8A76B #6BA889 #6B6CA8 #A86B8B
square
#A8A76B #6BA889 #6B6CA8 #A86B8B
split-complementary
#A8A76B #6B8BA8 #896BA8
monochromatic
#605F38 #87864F #A8A76B #BFBE92 #D5D5B8
Accessibility & contrast
On white
2.50
#A8A76B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.40
#A8A76B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A76B
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A76B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A76B | 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)
#B0A267
Deuteranopia (green-blind)
#B2A56D
Tritanopia (blue-blind)
#B0A098
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a8a76b; /* rgb */ color: rgb(168, 167, 107); /* oklch */ color: oklch(71.5% 0.080 107.5);
Tailwind
colors: {
custom: {
50: '#c3c196',
500: '#a8a76b',
950: '#000000',
},
}SCSS
$custom: #a8a76b; $custom-light: #c3c196; $custom-dark: #000000;
JSON
{
"hex": "#a8a76b",
"rgb": {
"r": 168,
"g": 167,
"b": 107
},
"hsl": {
"h": 59.016,
"s": 25.957,
"l": 53.922
},
"oklch": {
"l": 0.71492,
"c": 0.08039,
"h": 107.5
},
"luminance": 0.37024
}Semantic roles & 50–950 ramp
primary
#A8A76B
secondary
#AAABC4
accent
#67C265
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120D
muted
#81817E