#ABA771#ABA771
#ABA771 is a light, moderate yellow. Relative luminance 0.375; OKLCH L 71.9% C 0.073 H 104.5°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA771 |
|---|---|
| RGB | rgb(171, 167, 113) |
| HSL | hsl(56, 26%, 56%) |
| HSV | hsv(56, 34%, 67%) |
| CMYK | cmyk(0%, 2.3%, 33.9%, 32.9%) |
| CIE-LAB | lab(67.64, -7.01, 28.50) |
| CIE-LCH | lch(67.64, 29.35, 103.81°) |
| OKLab | oklab(71.86% -0.0182 0.0706) |
| OKLCH | oklch(71.86% 0.073 104.5) |
| XYZ | xyz(33.5943, 37.4883, 21.0859) |
| Luminance | 0.3749 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.99
Sand
#C2B280
ΔE00 5.82
Darkkhaki
#BDB76B
ΔE00 6.15
Stone (survey)
#ADA587
ΔE00 6.74
Bland
#AFA88B
ΔE00 7.00
Putty
#BEAE8A
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA771 #7175AB
analogous
#AB8A71 #ABA771 #92AB71
triadic
#ABA771 #71ABA7 #A771AB
tetradic
#ABA771 #71AB8A #7175AB #AB7192
square
#ABA771 #71AB8A #7175AB #AB7192
split-complementary
#ABA771 #7192AB #8A71AB
monochromatic
#66633C #8C8853 #ABA771 #C2BF97 #D8D7BE
Accessibility & contrast
On white
2.47
#ABA771 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.50
#ABA771 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA771
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA771 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA771 | 1.00 | 2.47 | 8.50 | 8.50 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B0A36D
Deuteranopia (green-blind)
#B2A673
Tritanopia (blue-blind)
#B3A099
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #aba771; /* rgb */ color: rgb(171, 167, 113); /* oklch */ color: oklch(71.9% 0.073 104.5);
Tailwind
colors: {
custom: {
50: '#c5c19a',
500: '#aba771',
950: '#000000',
},
}SCSS
$custom: #aba771; $custom-light: #c5c19a; $custom-dark: #000000;
JSON
{
"hex": "#aba771",
"rgb": {
"r": 171,
"g": 167,
"b": 113
},
"hsl": {
"h": 55.862,
"s": 25.664,
"l": 55.686
},
"oklch": {
"l": 0.71859,
"c": 0.07295,
"h": 104.5
},
"luminance": 0.37488
}Semantic roles & 50–950 ramp
primary
#ABA771
secondary
#B0B2C8
accent
#6CC266
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E