#ABB52A#ABB52A
#ABB52A is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.1% C 0.154 H 113.8°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #ABB52A |
|---|---|
| RGB | rgb(171, 181, 42) |
| HSL | hsl(64, 62%, 44%) |
| HSV | hsv(64, 77%, 71%) |
| CMYK | cmyk(5.5%, 0%, 76.8%, 29%) |
| CIE-LAB | lab(70.78, -20.05, 64.17) |
| CIE-LCH | lch(70.78, 67.22, 107.35°) |
| OKLab | oklab(74.13% -0.0619 0.1405) |
| OKLCH | oklch(74.13% 0.154 113.8) |
| XYZ | xyz(33.7374, 41.8735, 8.4952) |
| Luminance | 0.4187 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.81
Snot
#ACBB0D
ΔE00 2.41
Puke Green
#9AAE07
ΔE00 3.39
Sick Green
#9DB92C
ΔE00 3.98
Pea
#A4BF20
ΔE00 3.99
Booger Green
#96B403
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABB52A #342AB5
analogous
#B5792A #ABB52A #65B52A
triadic
#ABB52A #2AABB5 #B52AAB
tetradic
#ABB52A #2AB579 #342AB5 #B52A65
square
#ABB52A #2AB579 #342AB5 #B52A65
split-complementary
#ABB52A #2A65B5 #792AB5
monochromatic
#4D5213 #7C831E #ABB52A #CAD448 #D9E079
Accessibility & contrast
On white
2.24
#ABB52A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.37
#ABB52A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABB52A
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABB52A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABB52A | 1.00 | 2.24 | 9.37 | 9.37 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AC02
Deuteranopia (green-blind)
#C2AE36
Tritanopia (blue-blind)
#B7AA9B
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #abb52a; /* rgb */ color: rgb(171, 181, 42); /* oklch */ color: oklch(74.1% 0.154 113.8);
Tailwind
colors: {
custom: {
50: '#c8cb6f',
500: '#abb52a',
950: '#000000',
},
}SCSS
$custom: #abb52a; $custom-light: #c8cb6f; $custom-dark: #000000;
JSON
{
"hex": "#abb52a",
"rgb": {
"r": 171,
"g": 181,
"b": 42
},
"hsl": {
"h": 64.317,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.74127,
"c": 0.15354,
"h": 113.8
},
"luminance": 0.41873
}Semantic roles & 50–950 ramp
primary
#ABB52A
secondary
#7973C8
accent
#42E54E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B