#ABB42D#ABB42D
#ABB42D is a light, vivid yellow. Relative luminance 0.415; OKLCH L 73.9% C 0.151 H 113.4°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #ABB42D |
|---|---|
| RGB | rgb(171, 180, 45) |
| HSL | hsl(64, 60%, 44%) |
| HSV | hsv(64, 75%, 71%) |
| CMYK | cmyk(5%, 0%, 75%, 29.4%) |
| CIE-LAB | lab(70.52, -19.42, 62.96) |
| CIE-LCH | lch(70.52, 65.88, 107.14°) |
| OKLab | oklab(73.92% -0.0599 0.1385) |
| OKLCH | oklch(73.92% 0.151 113.4) |
| XYZ | xyz(33.5905, 41.4906, 8.7211) |
| Luminance | 0.4149 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.13
Snot
#ACBB0D
ΔE00 2.82
Puke Green
#9AAE07
ΔE00 3.45
Sick Green
#9DB92C
ΔE00 4.15
Pea
#A4BF20
ΔE00 4.32
Barf Green
#94AC02
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABB42D #362DB4
analogous
#B47A2D #ABB42D #68B42D
triadic
#ABB42D #2DABB4 #B42DAB
tetradic
#ABB42D #2DB47A #362DB4 #B42D68
square
#ABB42D #2DB47A #362DB4 #B42D68
split-complementary
#ABB42D #2D68B4 #7A2DB4
monochromatic
#4E5215 #7C8321 #ABB42D #C9D24C #D8DE7D
Accessibility & contrast
On white
2.26
#ABB42D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.30
#ABB42D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABB42D
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABB42D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABB42D | 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)
#C2AB0D
Deuteranopia (green-blind)
#C2AE38
Tritanopia (blue-blind)
#B7A99A
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #abb42d; /* rgb */ color: rgb(171, 180, 45); /* oklch */ color: oklch(73.9% 0.151 113.4);
Tailwind
colors: {
custom: {
50: '#c8ca71',
500: '#abb42d',
950: '#000000',
},
}SCSS
$custom: #abb42d; $custom-light: #c8ca71; $custom-dark: #000000;
JSON
{
"hex": "#abb42d",
"rgb": {
"r": 171,
"g": 180,
"b": 45
},
"hsl": {
"h": 64,
"s": 60,
"l": 44.118
},
"oklch": {
"l": 0.73919,
"c": 0.15088,
"h": 113.4
},
"luminance": 0.4149
}Semantic roles & 50–950 ramp
primary
#ABB42D
secondary
#7B76C7
accent
#45E34F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B