#A8A978#A8A978
#A8A978 is a light, moderate yellow. Relative luminance 0.381; OKLCH L 72.2% C 0.067 H 108.9°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A978 |
|---|---|
| RGB | rgb(168, 169, 120) |
| HSL | hsl(61, 22%, 57%) |
| HSV | hsv(61, 29%, 66%) |
| CMYK | cmyk(0.6%, 0%, 29%, 33.7%) |
| CIE-LAB | lab(68.06, -8.36, 25.25) |
| CIE-LCH | lch(68.06, 26.60, 108.31°) |
| OKLab | oklab(72.17% -0.0217 0.0632) |
| OKLCH | oklch(72.17% 0.067 108.9) |
| XYZ | xyz(33.7267, 38.0573, 23.3348) |
| Luminance | 0.3806 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.63
Stone (survey)
#ADA587
ΔE00 6.57
Sage Green
#9CAF88
ΔE00 6.64
Bland
#AFA88B
ΔE00 6.64
Sand
#C2B280
ΔE00 6.88
Darkkhaki
#BDB76B
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A978 #7978A9
analogous
#A99278 #A8A978 #90A978
triadic
#A8A978 #78A8A9 #A978A8
tetradic
#A8A978 #78A992 #7978A9 #A97890
square
#A8A978 #78A992 #7978A9 #A97890
split-complementary
#A8A978 #7890A9 #9278A9
monochromatic
#656641 #8A8B59 #A8A978 #C0C19D #D8D9C3
Accessibility & contrast
On white
2.44
#A8A978 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.61
#A8A978 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A978
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A978 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A978 | 1.00 | 2.44 | 8.61 | 8.61 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1A575
Deuteranopia (green-blind)
#B2A77A
Tritanopia (blue-blind)
#AFA39C
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #a8a978; /* rgb */ color: rgb(168, 169, 120); /* oklch */ color: oklch(72.2% 0.067 108.9);
Tailwind
colors: {
custom: {
50: '#c2c29f',
500: '#a8a978',
950: '#000000',
},
}SCSS
$custom: #a8a978; $custom-light: #c2c29f; $custom-dark: #000000;
JSON
{
"hex": "#a8a978",
"rgb": {
"r": 168,
"g": 169,
"b": 120
},
"hsl": {
"h": 61.224,
"s": 22.172,
"l": 56.667
},
"oklch": {
"l": 0.72173,
"c": 0.06682,
"h": 108.9
},
"luminance": 0.38057
}Semantic roles & 50–950 ramp
primary
#A8A978
secondary
#B5B4C8
accent
#69BF6B
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120E
muted
#81817E