#ABA42D#ABA42D
#ABA42D is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.4% C 0.135 H 106.0°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA42D |
|---|---|
| RGB | rgb(171, 164, 45) |
| HSL | hsl(57, 58%, 42%) |
| HSV | hsv(57, 74%, 67%) |
| CMYK | cmyk(0%, 4.1%, 73.7%, 32.9%) |
| CIE-LAB | lab(66.06, -11.22, 58.75) |
| CIE-LCH | lch(66.06, 59.81, 100.81°) |
| OKLab | oklab(70.36% -0.0371 0.1296) |
| OKLCH | oklch(70.36% 0.135 106) |
| XYZ | xyz(30.5449, 35.3994, 7.7059) |
| Luminance | 0.3540 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.76
Puke
#A5A502
ΔE00 2.88
Muddy Yellow
#BFAC05
ΔE00 5.42
Pea Soup
#929901
ΔE00 5.71
Pea Soup Green
#94A617
ΔE00 6.22
Baby Poop Green
#8F9805
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA42D #2D34AB
analogous
#AB652D #ABA42D #73AB2D
triadic
#ABA42D #2DABA4 #A42DAB
tetradic
#ABA42D #2DAB65 #2D34AB #AB2D73
square
#ABA42D #2DAB65 #2D34AB #AB2D73
split-complementary
#ABA42D #2D73AB #652DAB
monochromatic
#4A4714 #7B7620 #ABA42D #CEC747 #DBD677
Accessibility & contrast
On white
2.60
#ABA42D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#ABA42D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA42D
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA42D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA42D | 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)
#B29E16
Deuteranopia (green-blind)
#B5A336
Tritanopia (blue-blind)
#B8998D
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #aba42d; /* rgb */ color: rgb(171, 164, 45); /* oklch */ color: oklch(70.4% 0.135 106.0);
Tailwind
colors: {
custom: {
50: '#c8be6f',
500: '#aba42d',
950: '#000000',
},
}SCSS
$custom: #aba42d; $custom-light: #c8be6f; $custom-dark: #000000;
JSON
{
"hex": "#aba42d",
"rgb": {
"r": 171,
"g": 164,
"b": 45
},
"hsl": {
"h": 56.667,
"s": 58.333,
"l": 42.353
},
"oklch": {
"l": 0.70355,
"c": 0.13475,
"h": 106
},
"luminance": 0.35398
}Semantic roles & 50–950 ramp
primary
#ABA42D
secondary
#7175C3
accent
#4FE246
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B