#ABA971#ABA971
#ABA971 is a light, moderate yellow. Relative luminance 0.382; OKLCH L 72.3% C 0.075 H 106.4°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA971 |
|---|---|
| RGB | rgb(171, 169, 113) |
| HSL | hsl(58, 26%, 56%) |
| HSV | hsv(58, 34%, 67%) |
| CMYK | cmyk(0%, 1.2%, 33.9%, 32.9%) |
| CIE-LAB | lab(68.19, -8.07, 29.22) |
| CIE-LCH | lch(68.19, 30.31, 105.44°) |
| OKLab | oklab(72.29% -0.0213 0.0723) |
| OKLCH | oklch(72.29% 0.075 106.4) |
| XYZ | xyz(33.9635, 38.2268, 21.2089) |
| Luminance | 0.3823 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.80
Darkkhaki
#BDB76B
ΔE00 5.67
Sand
#C2B280
ΔE00 6.12
Stone (survey)
#ADA587
ΔE00 7.37
Bland
#AFA88B
ΔE00 7.55
Moss Green
#8A9A5B
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA971 #7173AB
analogous
#AB8C71 #ABA971 #90AB71
triadic
#ABA971 #71ABA9 #A971AB
tetradic
#ABA971 #71AB8C #7173AB #AB7190
square
#ABA971 #71AB8C #7173AB #AB7190
split-complementary
#ABA971 #7190AB #8C71AB
monochromatic
#66643C #8C8A53 #ABA971 #C2C097 #D8D8BE
Accessibility & contrast
On white
2.43
#ABA971 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.65
#ABA971 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA971
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA971 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA971 | 1.00 | 2.43 | 8.65 | 8.65 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2A56D
Deuteranopia (green-blind)
#B3A773
Tritanopia (blue-blind)
#B3A29B
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #aba971; /* rgb */ color: rgb(171, 169, 113); /* oklch */ color: oklch(72.3% 0.075 106.4);
Tailwind
colors: {
custom: {
50: '#c5c29a',
500: '#aba971',
950: '#000000',
},
}SCSS
$custom: #aba971; $custom-light: #c5c29a; $custom-dark: #000000;
JSON
{
"hex": "#aba971",
"rgb": {
"r": 171,
"g": 169,
"b": 113
},
"hsl": {
"h": 57.931,
"s": 25.664,
"l": 55.686
},
"oklch": {
"l": 0.72292,
"c": 0.07538,
"h": 106.4
},
"luminance": 0.38226
}Semantic roles & 50–950 ramp
primary
#ABA971
secondary
#B0B1C8
accent
#69C266
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E