#ABA71D#ABA71D
#ABA71D is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.9% C 0.146 H 107.8°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA71D |
|---|---|
| RGB | rgb(171, 167, 29) |
| HSL | hsl(58, 71%, 39%) |
| HSV | hsv(58, 83%, 67%) |
| CMYK | cmyk(0%, 2.3%, 83%, 32.9%) |
| CIE-LAB | lab(66.81, -13.39, 64.37) |
| CIE-LCH | lch(66.81, 65.75, 101.75°) |
| OKLab | oklab(70.93% -0.0445 0.1386) |
| OKLCH | oklch(70.93% 0.146 107.8) |
| XYZ | xyz(30.8364, 36.3852, 6.5609) |
| Luminance | 0.3638 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 1.54
Vomit
#A2A415
ΔE00 1.97
Muddy Yellow
#BFAC05
ΔE00 4.91
Mustard Green
#A8B504
ΔE00 5.17
Pea Soup Green
#94A617
ΔE00 5.63
Olive Yellow
#C2B709
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA71D #1D21AB
analogous
#AB601D #ABA71D #68AB1D
triadic
#ABA71D #1DABA7 #A71DAB
tetradic
#ABA71D #1DAB60 #1D21AB #AB1D68
square
#ABA71D #1DAB60 #1D21AB #AB1D68
split-complementary
#ABA71D #1D68AB #601DAB
monochromatic
#42410B #777414 #ABA71D #DBD62A #E4E05F
Accessibility & contrast
On white
2.54
#ABA71D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.28
#ABA71D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA71D
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA71D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA71D | 1.00 | 2.54 | 8.28 | 8.28 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B8A52B
Tritanopia (blue-blind)
#B89B8F
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #aba71d; /* rgb */ color: rgb(171, 167, 29); /* oklch */ color: oklch(70.9% 0.146 107.8);
Tailwind
colors: {
custom: {
50: '#c8c068',
500: '#aba71d',
950: '#000000',
},
}SCSS
$custom: #aba71d; $custom-light: #c8c068; $custom-dark: #000000;
JSON
{
"hex": "#aba71d",
"rgb": {
"r": 171,
"g": 167,
"b": 29
},
"hsl": {
"h": 58.31,
"s": 71,
"l": 39.216
},
"oklch": {
"l": 0.70933,
"c": 0.14553,
"h": 107.8
},
"luminance": 0.36384
}Semantic roles & 50–950 ramp
primary
#ABA71D
secondary
#5C5FC8
accent
#3FEE3A
background
#FCFBF6
surface
#F9F7EB
border
#D2D0C6
text
#141207
muted
#82817A