#ABB42B#ABB42B
#ABB42B 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.30:1 contrast (WCAG AA passes).
Color values
| HEX | #ABB42B |
|---|---|
| RGB | rgb(171, 180, 43) |
| HSL | hsl(64, 61%, 44%) |
| HSV | hsv(64, 76%, 71%) |
| CMYK | cmyk(5%, 0%, 76.1%, 29.4%) |
| CIE-LAB | lab(70.51, -19.51, 63.60) |
| CIE-LCH | lch(70.51, 66.52, 107.05°) |
| OKLab | oklab(73.91% -0.0604 0.1395) |
| OKLCH | oklch(73.91% 0.152 113.4) |
| XYZ | xyz(33.5529, 41.4756, 8.5231) |
| Luminance | 0.4148 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.98
Snot
#ACBB0D
ΔE00 2.71
Puke Green
#9AAE07
ΔE00 3.40
Sick Green
#9DB92C
ΔE00 4.19
Pea
#A4BF20
ΔE00 4.30
Booger Green
#96B403
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABB42B #342BB4
analogous
#B4782B #ABB42B #66B42B
triadic
#ABB42B #2BABB4 #B42BAB
tetradic
#ABB42B #2BB478 #342BB4 #B42B66
square
#ABB42B #2BB478 #342BB4 #B42B66
split-complementary
#ABB42B #2B66B4 #782BB4
monochromatic
#4D5113 #7C831F #ABB42B #CAD349 #D9DF7A
Accessibility & contrast
On white
2.26
#ABB42B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.30
#ABB42B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABB42B
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABB42B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABB42B | 1.00 | 2.26 | 9.30 | 9.30 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AB06
Deuteranopia (green-blind)
#C2AE37
Tritanopia (blue-blind)
#B7A99A
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #abb42b; /* rgb */ color: rgb(171, 180, 43); /* oklch */ color: oklch(73.9% 0.152 113.4);
Tailwind
colors: {
custom: {
50: '#c8ca70',
500: '#abb42b',
950: '#000000',
},
}SCSS
$custom: #abb42b; $custom-light: #c8ca70; $custom-dark: #000000;
JSON
{
"hex": "#abb42b",
"rgb": {
"r": 171,
"g": 180,
"b": 43
},
"hsl": {
"h": 63.942,
"s": 61.435,
"l": 43.725
},
"oklch": {
"l": 0.73907,
"c": 0.15196,
"h": 113.4
},
"luminance": 0.41475
}Semantic roles & 50–950 ramp
primary
#ABB42B
secondary
#7973C7
accent
#43E54E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B