#ABA866#ABA866
#ABA866 is a light, moderate yellow. Relative luminance 0.376; OKLCH L 71.9% C 0.087 H 106.1°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA866 |
|---|---|
| RGB | rgb(171, 168, 102) |
| HSL | hsl(57, 29%, 54%) |
| HSV | hsv(57, 40%, 67%) |
| CMYK | cmyk(0%, 1.8%, 40.4%, 32.9%) |
| CIE-LAB | lab(67.74, -8.84, 34.45) |
| CIE-LCH | lch(67.74, 35.57, 104.39°) |
| OKLab | oklab(71.88% -0.0243 0.0839) |
| OKLCH | oklch(71.88% 0.087 106.1) |
| XYZ | xyz(33.1960, 37.6233, 18.0811) |
| Luminance | 0.3762 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 0.78
Darkkhaki
#BDB76B
ΔE00 4.74
Sand
#C2B280
ΔE00 6.85
Moss Green
#8A9A5B
ΔE00 7.88
Dark Khaki
#9B8F55
ΔE00 7.95
Tan Green
#A9BE70
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA866 #6669AB
analogous
#AB8566 #ABA866 #8BAB66
triadic
#ABA866 #66ABA8 #A866AB
tetradic
#ABA866 #66AB85 #6669AB #AB668B
square
#ABA866 #66AB85 #6669AB #AB668B
split-complementary
#ABA866 #668BAB #8566AB
monochromatic
#615F35 #89864B #ABA866 #C1BE8E #D6D5B5
Accessibility & contrast
On white
2.46
#ABA866 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.52
#ABA866 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA866
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA866 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA866 | 1.00 | 2.46 | 8.52 | 8.52 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2A361
Deuteranopia (green-blind)
#B4A669
Tritanopia (blue-blind)
#B4A098
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #aba866; /* rgb */ color: rgb(171, 168, 102); /* oklch */ color: oklch(71.9% 0.087 106.1);
Tailwind
colors: {
custom: {
50: '#c5c192',
500: '#aba866',
950: '#000000',
},
}SCSS
$custom: #aba866; $custom-light: #c5c192; $custom-dark: #000000;
JSON
{
"hex": "#aba866",
"rgb": {
"r": 171,
"g": 168,
"b": 102
},
"hsl": {
"h": 57.391,
"s": 29.114,
"l": 53.529
},
"oklch": {
"l": 0.71882,
"c": 0.08731,
"h": 106.1
},
"luminance": 0.37622
}Semantic roles & 50–950 ramp
primary
#ABA866
secondary
#A8A9C5
accent
#67C562
background
#FCFBF9
surface
#F8F7F1
border
#D1D0CB
text
#13120D
muted
#82817E