#ABA271#ABA271
#ABA271 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.8% C 0.067 H 99.0°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA271 |
|---|---|
| RGB | rgb(171, 162, 113) |
| HSL | hsl(51, 26%, 56%) |
| HSV | hsv(51, 34%, 67%) |
| CMYK | cmyk(0%, 5.3%, 33.9%, 32.9%) |
| CIE-LAB | lab(66.28, -4.33, 26.71) |
| CIE-LCH | lch(66.28, 27.06, 99.21°) |
| OKLab | oklab(70.78% -0.0105 0.0664) |
| OKLCH | oklch(70.78% 0.067 99) |
| XYZ | xyz(32.6960, 35.6917, 20.7864) |
| Luminance | 0.3569 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.43
Stone (survey)
#ADA587
ΔE00 5.40
Sand
#C2B280
ΔE00 5.57
Bland
#AFA88B
ΔE00 5.94
Putty
#BEAE8A
ΔE00 6.42
Dark Khaki
#9B8F55
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA271 #717AAB
analogous
#AB8571 #ABA271 #97AB71
triadic
#ABA271 #71ABA2 #A271AB
tetradic
#ABA271 #71AB85 #717AAB #AB7197
square
#ABA271 #71AB85 #717AAB #AB7197
split-complementary
#ABA271 #7197AB #8571AB
monochromatic
#665F3C #8C8353 #ABA271 #C2BB97 #D8D4BE
Accessibility & contrast
On white
2.58
#ABA271 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#ABA271 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA271
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA271 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA271 | 1.00 | 2.58 | 8.14 | 8.14 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9F6E
Deuteranopia (green-blind)
#AEA373
Tritanopia (blue-blind)
#B49B95
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #aba271; /* rgb */ color: rgb(171, 162, 113); /* oklch */ color: oklch(70.8% 0.067 99.0);
Tailwind
colors: {
custom: {
50: '#c5bd9a',
500: '#aba271',
950: '#000000',
},
}SCSS
$custom: #aba271; $custom-light: #c5bd9a; $custom-dark: #000000;
JSON
{
"hex": "#aba271",
"rgb": {
"r": 171,
"g": 162,
"b": 113
},
"hsl": {
"h": 50.69,
"s": 25.664,
"l": 55.686
},
"oklch": {
"l": 0.70784,
"c": 0.06727,
"h": 99
},
"luminance": 0.35691
}Semantic roles & 50–950 ramp
primary
#ABA271
secondary
#B0B4C8
accent
#74C266
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E