#A8A770#A8A770
#A8A770 is a light, moderate yellow. Relative luminance 0.371; OKLCH L 71.6% C 0.074 H 107.2°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A770 |
|---|---|
| RGB | rgb(168, 167, 112) |
| HSL | hsl(59, 24%, 55%) |
| HSV | hsv(59, 33%, 66%) |
| CMYK | cmyk(0%, 0.6%, 33.3%, 34.1%) |
| CIE-LAB | lab(67.38, -8.34, 28.64) |
| CIE-LCH | lch(67.38, 29.83, 106.24°) |
| OKLab | oklab(71.58% -0.022 0.071) |
| OKLCH | oklch(71.58% 0.074 107.2) |
| XYZ | xyz(32.8921, 37.1327, 20.7607) |
| Luminance | 0.3713 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.97
Darkkhaki
#BDB76B
ΔE00 6.34
Sand
#C2B280
ΔE00 6.71
Moss Green
#8A9A5B
ΔE00 7.30
Stone (survey)
#ADA587
ΔE00 7.32
Bland
#AFA88B
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A770 #7071A8
analogous
#A88B70 #A8A770 #8DA870
triadic
#A8A770 #70A8A7 #A770A8
tetradic
#A8A770 #70A88B #7071A8 #A8708D
square
#A8A770 #70A88B #7071A8 #A8708D
split-complementary
#A8A770 #708DA8 #8B70A8
monochromatic
#62613C #888753 #A8A770 #BFBE96 #D6D6BC
Accessibility & contrast
On white
2.49
#A8A770 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.43
#A8A770 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A770
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A770 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A770 | 1.00 | 2.49 | 8.43 | 8.43 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B0A36C
Deuteranopia (green-blind)
#B1A572
Tritanopia (blue-blind)
#B0A099
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a8a770; /* rgb */ color: rgb(168, 167, 112); /* oklch */ color: oklch(71.6% 0.074 107.2);
Tailwind
colors: {
custom: {
50: '#c2c199',
500: '#a8a770',
950: '#000000',
},
}SCSS
$custom: #a8a770; $custom-light: #c2c199; $custom-dark: #000000;
JSON
{
"hex": "#a8a770",
"rgb": {
"r": 168,
"g": 167,
"b": 112
},
"hsl": {
"h": 58.929,
"s": 24.348,
"l": 54.902
},
"oklch": {
"l": 0.71583,
"c": 0.07429,
"h": 107.2
},
"luminance": 0.37132
}Semantic roles & 50–950 ramp
primary
#A8A770
secondary
#AEAFC6
accent
#69C167
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120E
muted
#81817E