#ABA42B#ABA42B
#ABA42B is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.3% C 0.136 H 106.0°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA42B |
|---|---|
| RGB | rgb(171, 164, 43) |
| HSL | hsl(57, 60%, 42%) |
| HSV | hsv(57, 75%, 67%) |
| CMYK | cmyk(0%, 4.1%, 74.9%, 32.9%) |
| CIE-LAB | lab(66.05, -11.31, 59.45) |
| CIE-LCH | lch(66.05, 60.51, 100.77°) |
| OKLab | oklab(70.34% -0.0375 0.1306) |
| OKLCH | oklch(70.34% 0.136 106) |
| XYZ | xyz(30.5073, 35.3844, 7.5079) |
| Luminance | 0.3538 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.66
Puke
#A5A502
ΔE00 2.73
Muddy Yellow
#BFAC05
ΔE00 5.31
Pea Soup
#929901
ΔE00 5.67
Pea Soup Green
#94A617
ΔE00 6.21
Baby Poop Green
#8F9805
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA42B #2B32AB
analogous
#AB642B #ABA42B #72AB2B
triadic
#ABA42B #2BABA4 #A42BAB
tetradic
#ABA42B #2BAB64 #2B32AB #AB2B72
square
#ABA42B #2BAB64 #2B32AB #AB2B72
split-complementary
#ABA42B #2B72AB #642BAB
monochromatic
#494612 #7A751F #ABA42B #D0C843 #DCD674
Accessibility & contrast
On white
2.60
#ABA42B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#ABA42B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA42B
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA42B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA42B | 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)
#B29E12
Deuteranopia (green-blind)
#B5A334
Tritanopia (blue-blind)
#B8998D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #aba42b; /* rgb */ color: rgb(171, 164, 43); /* oklch */ color: oklch(70.3% 0.136 106.0);
Tailwind
colors: {
custom: {
50: '#c8be6e',
500: '#aba42b',
950: '#000000',
},
}SCSS
$custom: #aba42b; $custom-light: #c8be6e; $custom-dark: #000000;
JSON
{
"hex": "#aba42b",
"rgb": {
"r": 171,
"g": 164,
"b": 43
},
"hsl": {
"h": 56.719,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.70342,
"c": 0.13593,
"h": 106
},
"luminance": 0.35383
}Semantic roles & 50–950 ramp
primary
#ABA42B
secondary
#6E73C4
accent
#4DE345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141208
muted
#82817B