#ABA42E#ABA42E
#ABA42E is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.4% C 0.134 H 105.9°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA42E |
|---|---|
| RGB | rgb(171, 164, 46) |
| HSL | hsl(57, 58%, 43%) |
| HSV | hsv(57, 73%, 67%) |
| CMYK | cmyk(0%, 4.1%, 73.1%, 32.9%) |
| CIE-LAB | lab(66.06, -11.17, 58.40) |
| CIE-LCH | lch(66.06, 59.46, 100.83°) |
| OKLab | oklab(70.36% -0.0368 0.129) |
| OKLCH | oklch(70.36% 0.134 105.9) |
| XYZ | xyz(30.5644, 35.4072, 7.8085) |
| Luminance | 0.3541 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.81
Puke
#A5A502
ΔE00 2.96
Muddy Yellow
#BFAC05
ΔE00 5.47
Pea Soup
#929901
ΔE00 5.73
Pea Soup Green
#94A617
ΔE00 6.24
Baby Poop Green
#8F9805
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA42E #2E35AB
analogous
#AB652E #ABA42E #73AB2E
triadic
#ABA42E #2EABA4 #A42EAB
tetradic
#ABA42E #2EAB65 #2E35AB #AB2E73
square
#ABA42E #2EAB65 #2E35AB #AB2E73
split-complementary
#ABA42E #2E73AB #652EAB
monochromatic
#4B4714 #7B7621 #ABA42E #CEC648 #DBD579
Accessibility & contrast
On white
2.60
#ABA42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#ABA42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA42E
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA42E | 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)
#B29E18
Deuteranopia (green-blind)
#B5A337
Tritanopia (blue-blind)
#B8998D
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #aba42e; /* rgb */ color: rgb(171, 164, 46); /* oklch */ color: oklch(70.4% 0.134 105.9);
Tailwind
colors: {
custom: {
50: '#c7be6f',
500: '#aba42e',
950: '#000000',
},
}SCSS
$custom: #aba42e; $custom-light: #c7be6f; $custom-dark: #000000;
JSON
{
"hex": "#aba42e",
"rgb": {
"r": 171,
"g": 164,
"b": 46
},
"hsl": {
"h": 56.64,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.70362,
"c": 0.13414,
"h": 105.9
},
"luminance": 0.35406
}Semantic roles & 50–950 ramp
primary
#ABA42E
secondary
#7276C3
accent
#50E147
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B