#ABB42A#ABB42A
#ABB42A is a light, vivid yellow. Relative luminance 0.415; OKLCH L 73.9% C 0.152 H 113.4°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #ABB42A |
|---|---|
| RGB | rgb(171, 180, 42) |
| HSL | hsl(64, 62%, 44%) |
| HSV | hsv(64, 77%, 71%) |
| CMYK | cmyk(5%, 0%, 76.7%, 29.4%) |
| CIE-LAB | lab(70.50, -19.55, 63.91) |
| CIE-LCH | lch(70.50, 66.83, 107.01°) |
| OKLab | oklab(73.9% -0.0606 0.1399) |
| OKLCH | oklch(73.9% 0.152 113.4) |
| XYZ | xyz(33.5348, 41.4683, 8.4277) |
| Luminance | 0.4147 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.90
Snot
#ACBB0D
ΔE00 2.66
Puke Green
#9AAE07
ΔE00 3.39
Sick Green
#9DB92C
ΔE00 4.22
Pea
#A4BF20
ΔE00 4.30
Booger Green
#96B403
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABB42A #332AB4
analogous
#B4782A #ABB42A #66B42A
triadic
#ABB42A #2AABB4 #B42AAB
tetradic
#ABB42A #2AB478 #332AB4 #B42A66
square
#ABB42A #2AB478 #332AB4 #B42A66
split-complementary
#ABB42A #2A66B4 #782AB4
monochromatic
#4D5113 #7C821E #ABB42A #CBD447 #D9E079
Accessibility & contrast
On white
2.26
#ABB42A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.29
#ABB42A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABB42A
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABB42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABB42A | 1.00 | 2.26 | 9.29 | 9.29 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AB03
Deuteranopia (green-blind)
#C2AE36
Tritanopia (blue-blind)
#B7A99A
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #abb42a; /* rgb */ color: rgb(171, 180, 42); /* oklch */ color: oklch(73.9% 0.152 113.4);
Tailwind
colors: {
custom: {
50: '#c8ca6f',
500: '#abb42a',
950: '#000000',
},
}SCSS
$custom: #abb42a; $custom-light: #c8ca6f; $custom-dark: #000000;
JSON
{
"hex": "#abb42a",
"rgb": {
"r": 171,
"g": 180,
"b": 42
},
"hsl": {
"h": 63.913,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.73902,
"c": 0.15248,
"h": 113.4
},
"luminance": 0.41468
}Semantic roles & 50–950 ramp
primary
#ABB42A
secondary
#7872C8
accent
#43E54D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B