#ABA978#ABA978
#ABA978 is a light, moderate yellow. Relative luminance 0.384; OKLCH L 72.4% C 0.067 H 106.0°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA978 |
|---|---|
| RGB | rgb(171, 169, 120) |
| HSL | hsl(58, 23%, 57%) |
| HSV | hsv(58, 30%, 67%) |
| CMYK | cmyk(0%, 1.2%, 29.8%, 32.9%) |
| CIE-LAB | lab(68.31, -7.17, 25.62) |
| CIE-LCH | lch(68.31, 26.60, 105.63°) |
| OKLab | oklab(72.43% -0.0183 0.0641) |
| OKLCH | oklch(72.43% 0.067 106) |
| XYZ | xyz(34.3729, 38.3905, 23.3650) |
| Luminance | 0.3839 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.35
Sand
#C2B280
ΔE00 5.93
Stone (survey)
#ADA587
ΔE00 6.01
Bland
#AFA88B
ΔE00 6.12
Darkkhaki
#BDB76B
ΔE00 6.81
Putty
#BEAE8A
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA978 #787AAB
analogous
#AB9078 #ABA978 #94AB78
triadic
#ABA978 #78ABA9 #A978AB
tetradic
#ABA978 #78AB90 #787AAB #AB7894
square
#ABA978 #78AB90 #787AAB #AB7894
split-complementary
#ABA978 #7894AB #9078AB
monochromatic
#686641 #8E8C58 #ABA978 #C2C19E #DAD9C3
Accessibility & contrast
On white
2.42
#ABA978 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.68
#ABA978 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA978
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA978 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA978 | 1.00 | 2.42 | 8.68 | 8.68 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1A575
Deuteranopia (green-blind)
#B3A87A
Tritanopia (blue-blind)
#B2A39C
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #aba978; /* rgb */ color: rgb(171, 169, 120); /* oklch */ color: oklch(72.4% 0.067 106.0);
Tailwind
colors: {
custom: {
50: '#c4c29f',
500: '#aba978',
950: '#000000',
},
}SCSS
$custom: #aba978; $custom-light: #c4c29f; $custom-dark: #000000;
JSON
{
"hex": "#aba978",
"rgb": {
"r": 171,
"g": 169,
"b": 120
},
"hsl": {
"h": 57.647,
"s": 23.288,
"l": 57.059
},
"oklch": {
"l": 0.72426,
"c": 0.06663,
"h": 106
},
"luminance": 0.3839
}Semantic roles & 50–950 ramp
primary
#ABA978
secondary
#B5B6CA
accent
#6BC068
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E