#ABB52D#ABB52D
#ABB52D is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.1% C 0.152 H 113.8°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #ABB52D |
|---|---|
| RGB | rgb(171, 181, 45) |
| HSL | hsl(64, 60%, 44%) |
| HSV | hsv(64, 75%, 71%) |
| CMYK | cmyk(5.5%, 0%, 75.1%, 29%) |
| CIE-LAB | lab(70.80, -19.92, 63.22) |
| CIE-LCH | lch(70.80, 66.28, 107.49°) |
| OKLab | oklab(74.14% -0.0613 0.139) |
| OKLCH | oklch(74.14% 0.152 113.8) |
| XYZ | xyz(33.7931, 41.8958, 8.7887) |
| Luminance | 0.4189 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.05
Snot
#ACBB0D
ΔE00 2.59
Puke Green
#9AAE07
ΔE00 3.45
Sick Green
#9DB92C
ΔE00 3.91
Pea
#A4BF20
ΔE00 4.01
Booger Green
#96B403
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABB52D #372DB5
analogous
#B57B2D #ABB52D #67B52D
triadic
#ABB52D #2DABB5 #B52DAB
tetradic
#ABB52D #2DB57B #372DB5 #B52D67
square
#ABB52D #2DB57B #372DB5 #B52D67
split-complementary
#ABB52D #2D67B5 #7B2DB5
monochromatic
#4E5315 #7D8421 #ABB52D #C9D34D #D8DF7E
Accessibility & contrast
On white
2.24
#ABB52D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.38
#ABB52D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABB52D
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABB52D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABB52D | 1.00 | 2.24 | 9.38 | 9.38 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AC0C
Deuteranopia (green-blind)
#C2AF39
Tritanopia (blue-blind)
#B7AA9B
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #abb52d; /* rgb */ color: rgb(171, 181, 45); /* oklch */ color: oklch(74.1% 0.152 113.8);
Tailwind
colors: {
custom: {
50: '#c8cb71',
500: '#abb52d',
950: '#000000',
},
}SCSS
$custom: #abb52d; $custom-light: #c8cb71; $custom-dark: #000000;
JSON
{
"hex": "#abb52d",
"rgb": {
"r": 171,
"g": 181,
"b": 45
},
"hsl": {
"h": 64.412,
"s": 60.177,
"l": 44.314
},
"oklch": {
"l": 0.74144,
"c": 0.15194,
"h": 113.8
},
"luminance": 0.41895
}Semantic roles & 50–950 ramp
primary
#ABB52D
secondary
#7C76C7
accent
#44E350
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B