#ABA42A#ABA42A
#ABA42A is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.3% C 0.137 H 106.0°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA42A |
|---|---|
| RGB | rgb(171, 164, 42) |
| HSL | hsl(57, 61%, 42%) |
| HSV | hsv(57, 75%, 67%) |
| CMYK | cmyk(0%, 4.1%, 75.4%, 32.9%) |
| CIE-LAB | lab(66.04, -11.35, 59.79) |
| CIE-LCH | lch(66.04, 60.85, 100.75°) |
| OKLab | oklab(70.34% -0.0377 0.1312) |
| OKLCH | oklch(70.34% 0.137 106) |
| XYZ | xyz(30.4892, 35.3771, 7.4125) |
| Luminance | 0.3538 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.62
Puke
#A5A502
ΔE00 2.66
Muddy Yellow
#BFAC05
ΔE00 5.26
Pea Soup
#929901
ΔE00 5.65
Pea Soup Green
#94A617
ΔE00 6.20
Baby Poop Green
#8F9805
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA42A #2A31AB
analogous
#AB642A #ABA42A #72AB2A
triadic
#ABA42A #2AABA4 #A42AAB
tetradic
#ABA42A #2AAB64 #2A31AB #AB2A72
square
#ABA42A #2AAB64 #2A31AB #AB2A72
split-complementary
#ABA42A #2A72AB #642AAB
monochromatic
#494612 #7A751E #ABA42A #D1C942 #DDD773
Accessibility & contrast
On white
2.60
#ABA42A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#ABA42A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA42A
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA42A | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E0F
Deuteranopia (green-blind)
#B5A333
Tritanopia (blue-blind)
#B8998D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #aba42a; /* rgb */ color: rgb(171, 164, 42); /* oklch */ color: oklch(70.3% 0.137 106.0);
Tailwind
colors: {
custom: {
50: '#c8be6d',
500: '#aba42a',
950: '#000000',
},
}SCSS
$custom: #aba42a; $custom-light: #c8be6d; $custom-dark: #000000;
JSON
{
"hex": "#aba42a",
"rgb": {
"r": 171,
"g": 164,
"b": 42
},
"hsl": {
"h": 56.744,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.70336,
"c": 0.1365,
"h": 106
},
"luminance": 0.35376
}Semantic roles & 50–950 ramp
primary
#ABA42A
secondary
#6D72C4
accent
#4DE444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141208
muted
#82817B