#A8A86B#A8A86B
#A8A86B is a light, moderate yellow. Relative luminance 0.374; OKLCH L 71.7% C 0.082 H 108.3°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A86B |
|---|---|
| RGB | rgb(168, 168, 107) |
| HSL | hsl(60, 26%, 54%) |
| HSV | hsv(60, 36%, 66%) |
| CMYK | cmyk(0%, 0%, 36.3%, 34.1%) |
| CIE-LAB | lab(67.57, -9.49, 31.55) |
| CIE-LCH | lch(67.57, 32.95, 106.74°) |
| OKLab | oklab(71.71% -0.0256 0.0775) |
| OKLCH | oklch(71.71% 0.082 108.3) |
| XYZ | xyz(32.8053, 37.3922, 19.3964) |
| Luminance | 0.3739 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.03
Darkkhaki
#BDB76B
ΔE00 5.57
Moss Green
#8A9A5B
ΔE00 7.08
Sand
#C2B280
ΔE00 7.15
Tan Green
#A9BE70
ΔE00 7.65
Light Olive
#ACBF69
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A86B #6B6BA8
analogous
#A88A6B #A8A86B #8AA86B
triadic
#A8A86B #6BA8A8 #A86BA8
tetradic
#A8A86B #6BA88A #6B6BA8 #A86B8A
square
#A8A86B #6BA88A #6B6BA8 #A86B8A
split-complementary
#A8A86B #6B8AA8 #8A6BA8
monochromatic
#606038 #87874F #A8A86B #BFBF92 #D5D5B8
Accessibility & contrast
On white
2.48
#A8A86B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.48
#A8A86B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A86B
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A86B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A86B | 1.00 | 2.48 | 8.48 | 8.48 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1A367
Deuteranopia (green-blind)
#B2A66E
Tritanopia (blue-blind)
#B0A199
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #a8a86b; /* rgb */ color: rgb(168, 168, 107); /* oklch */ color: oklch(71.7% 0.082 108.3);
Tailwind
colors: {
custom: {
50: '#c3c196',
500: '#a8a86b',
950: '#000000',
},
}SCSS
$custom: #a8a86b; $custom-light: #c3c196; $custom-dark: #000000;
JSON
{
"hex": "#a8a86b",
"rgb": {
"r": 168,
"g": 168,
"b": 107
},
"hsl": {
"h": 60,
"s": 25.957,
"l": 53.922
},
"oklch": {
"l": 0.7171,
"c": 0.08163,
"h": 108.3
},
"luminance": 0.37392
}Semantic roles & 50–950 ramp
primary
#A8A86B
secondary
#AAAAC4
accent
#65C265
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120D
muted
#81817E