#ABB52E#ABB52E
#ABB52E is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.2% C 0.151 H 113.8°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #ABB52E |
|---|---|
| RGB | rgb(171, 181, 46) |
| HSL | hsl(64, 59%, 45%) |
| HSV | hsv(64, 75%, 71%) |
| CMYK | cmyk(5.5%, 0%, 74.6%, 29%) |
| CIE-LAB | lab(70.80, -19.87, 62.89) |
| CIE-LCH | lch(70.80, 65.96, 107.54°) |
| OKLab | oklab(74.15% -0.0611 0.1385) |
| OKLCH | oklch(74.15% 0.151 113.8) |
| XYZ | xyz(33.8126, 41.9036, 8.8913) |
| Luminance | 0.4190 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.13
Snot
#ACBB0D
ΔE00 2.66
Puke Green
#9AAE07
ΔE00 3.48
Sick Green
#9DB92C
ΔE00 3.89
Pea
#A4BF20
ΔE00 4.02
Booger Green
#96B403
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABB52E #382EB5
analogous
#B57B2E #ABB52E #68B52E
triadic
#ABB52E #2EABB5 #B52EAB
tetradic
#ABB52E #2EB57B #382EB5 #B52E68
square
#ABB52E #2EB57B #382EB5 #B52E68
split-complementary
#ABB52E #2E68B5 #7B2EB5
monochromatic
#4F5315 #7D8422 #ABB52E #C8D24E #D7DE7F
Accessibility & contrast
On white
2.24
#ABB52E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.38
#ABB52E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABB52E
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABB52E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABB52E | 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)
#C3AC0F
Deuteranopia (green-blind)
#C2AF39
Tritanopia (blue-blind)
#B7AA9B
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #abb52e; /* rgb */ color: rgb(171, 181, 46); /* oklch */ color: oklch(74.2% 0.151 113.8);
Tailwind
colors: {
custom: {
50: '#c8cb71',
500: '#abb52e',
950: '#000000',
},
}SCSS
$custom: #abb52e; $custom-light: #c8cb71; $custom-dark: #000000;
JSON
{
"hex": "#abb52e",
"rgb": {
"r": 171,
"g": 181,
"b": 46
},
"hsl": {
"h": 64.444,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.7415,
"c": 0.15139,
"h": 113.8
},
"luminance": 0.41903
}Semantic roles & 50–950 ramp
primary
#ABB52E
secondary
#7D78C7
accent
#45E351
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B