#AAA978#AAA978
#AAA978 is a light, moderate yellow. Relative luminance 0.383; OKLCH L 72.3% C 0.067 H 107.0°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #AAA978 |
|---|---|
| RGB | rgb(170, 169, 120) |
| HSL | hsl(59, 23%, 57%) |
| HSV | hsv(59, 29%, 67%) |
| CMYK | cmyk(0%, 0.6%, 29.4%, 33.3%) |
| CIE-LAB | lab(68.23, -7.56, 25.50) |
| CIE-LCH | lch(68.23, 26.59, 106.52°) |
| OKLab | oklab(72.34% -0.0195 0.0638) |
| OKLCH | oklch(72.34% 0.067 107) |
| XYZ | xyz(34.1558, 38.2786, 23.3549) |
| Luminance | 0.3828 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.42
Stone (survey)
#ADA587
ΔE00 6.18
Sand
#C2B280
ΔE00 6.25
Bland
#AFA88B
ΔE00 6.28
Darkkhaki
#BDB76B
ΔE00 6.93
Sage Green
#9CAF88
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAA978 #7879AA
analogous
#AA9078 #AAA978 #92AA78
triadic
#AAA978 #78AAA9 #A978AA
tetradic
#AAA978 #78AA90 #7879AA #AA7892
square
#AAA978 #78AA90 #7879AA #AA7892
split-complementary
#AAA978 #7892AA #9078AA
monochromatic
#676641 #8C8B58 #AAA978 #C2C19E #D9D9C3
Accessibility & contrast
On white
2.43
#AAA978 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.66
#AAA978 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAA978
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAA978 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAA978 | 1.00 | 2.43 | 8.66 | 8.66 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1A575
Deuteranopia (green-blind)
#B2A77A
Tritanopia (blue-blind)
#B1A39C
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #aaa978; /* rgb */ color: rgb(170, 169, 120); /* oklch */ color: oklch(72.3% 0.067 107.0);
Tailwind
colors: {
custom: {
50: '#c4c29f',
500: '#aaa978',
950: '#000000',
},
}SCSS
$custom: #aaa978; $custom-light: #c4c29f; $custom-dark: #000000;
JSON
{
"hex": "#aaa978",
"rgb": {
"r": 170,
"g": 169,
"b": 120
},
"hsl": {
"h": 58.8,
"s": 22.727,
"l": 56.863
},
"oklch": {
"l": 0.72341,
"c": 0.06667,
"h": 107
},
"luminance": 0.38278
}Semantic roles & 50–950 ramp
primary
#AAA978
secondary
#B5B5C9
accent
#6ABF69
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120E
muted
#81817E