#ABA871#ABA871
#ABA871 is a light, moderate yellow. Relative luminance 0.379; OKLCH L 72.1% C 0.074 H 105.5°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA871 |
|---|---|
| RGB | rgb(171, 168, 113) |
| HSL | hsl(57, 26%, 56%) |
| HSV | hsv(57, 34%, 67%) |
| CMYK | cmyk(0%, 1.8%, 33.9%, 32.9%) |
| CIE-LAB | lab(67.91, -7.54, 28.86) |
| CIE-LCH | lch(67.91, 29.83, 104.64°) |
| OKLab | oklab(72.08% -0.0198 0.0715) |
| OKLCH | oklch(72.08% 0.074 105.5) |
| XYZ | xyz(33.7782, 37.8561, 21.1472) |
| Luminance | 0.3785 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.86
Darkkhaki
#BDB76B
ΔE00 5.90
Sand
#C2B280
ΔE00 5.96
Stone (survey)
#ADA587
ΔE00 7.05
Bland
#AFA88B
ΔE00 7.27
Putty
#BEAE8A
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA871 #7174AB
analogous
#AB8B71 #ABA871 #91AB71
triadic
#ABA871 #71ABA8 #A871AB
tetradic
#ABA871 #71AB8B #7174AB #AB7191
square
#ABA871 #71AB8B #7174AB #AB7191
split-complementary
#ABA871 #7191AB #8B71AB
monochromatic
#66633C #8C8953 #ABA871 #C2C097 #D8D7BE
Accessibility & contrast
On white
2.45
#ABA871 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.57
#ABA871 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA871
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA871 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA871 | 1.00 | 2.45 | 8.57 | 8.57 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1A46D
Deuteranopia (green-blind)
#B3A773
Tritanopia (blue-blind)
#B3A19A
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #aba871; /* rgb */ color: rgb(171, 168, 113); /* oklch */ color: oklch(72.1% 0.074 105.5);
Tailwind
colors: {
custom: {
50: '#c5c19a',
500: '#aba871',
950: '#000000',
},
}SCSS
$custom: #aba871; $custom-light: #c5c19a; $custom-dark: #000000;
JSON
{
"hex": "#aba871",
"rgb": {
"r": 171,
"g": 168,
"b": 113
},
"hsl": {
"h": 56.897,
"s": 25.664,
"l": 55.686
},
"oklch": {
"l": 0.72075,
"c": 0.07415,
"h": 105.5
},
"luminance": 0.37855
}Semantic roles & 50–950 ramp
primary
#ABA871
secondary
#B0B1C8
accent
#6BC266
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E