#ABA52E#ABA52E
#ABA52E is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.6% C 0.135 H 106.5°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA52E |
|---|---|
| RGB | rgb(171, 165, 46) |
| HSL | hsl(57, 58%, 43%) |
| HSV | hsv(57, 73%, 67%) |
| CMYK | cmyk(0%, 3.5%, 73.1%, 32.9%) |
| CIE-LAB | lab(66.34, -11.69, 58.66) |
| CIE-LCH | lch(66.34, 59.82, 101.27°) |
| OKLab | oklab(70.58% -0.0383 0.1296) |
| OKLCH | oklch(70.58% 0.135 106.5) |
| XYZ | xyz(30.7441, 35.7666, 7.8684) |
| Luminance | 0.3577 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.62
Puke
#A5A502
ΔE00 2.78
Muddy Yellow
#BFAC05
ΔE00 5.48
Pea Soup
#929901
ΔE00 5.74
Pea Soup Green
#94A617
ΔE00 5.99
Mustard Green
#A8B504
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA52E #2E34AB
analogous
#AB662E #ABA52E #72AB2E
triadic
#ABA52E #2EABA5 #A52EAB
tetradic
#ABA52E #2EAB66 #2E34AB #AB2E72
square
#ABA52E #2EAB66 #2E34AB #AB2E72
split-complementary
#ABA52E #2E72AB #662EAB
monochromatic
#4B4814 #7B7621 #ABA52E #CEC748 #DBD679
Accessibility & contrast
On white
2.58
#ABA52E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#ABA52E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA52E
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA52E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA52E | 1.00 | 2.58 | 8.15 | 8.15 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39F18
Deuteranopia (green-blind)
#B6A337
Tritanopia (blue-blind)
#B89A8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #aba52e; /* rgb */ color: rgb(171, 165, 46); /* oklch */ color: oklch(70.6% 0.135 106.5);
Tailwind
colors: {
custom: {
50: '#c7bf6f',
500: '#aba52e',
950: '#000000',
},
}SCSS
$custom: #aba52e; $custom-light: #c7bf6f; $custom-dark: #000000;
JSON
{
"hex": "#aba52e",
"rgb": {
"r": 171,
"g": 165,
"b": 46
},
"hsl": {
"h": 57.12,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.70583,
"c": 0.13509,
"h": 106.5
},
"luminance": 0.35765
}Semantic roles & 50–950 ramp
primary
#ABA52E
secondary
#7276C3
accent
#4EE147
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B