#ABB72E#ABB72E
#ABB72E is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.6% C 0.154 H 114.6°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #ABB72E |
|---|---|
| RGB | rgb(171, 183, 46) |
| HSL | hsl(65, 60%, 45%) |
| HSV | hsv(65, 75%, 72%) |
| CMYK | cmyk(6.6%, 0%, 74.9%, 28.2%) |
| CIE-LAB | lab(71.37, -20.87, 63.42) |
| CIE-LCH | lch(71.37, 66.77, 108.22°) |
| OKLab | oklab(74.6% -0.0639 0.1396) |
| OKLCH | oklch(74.6% 0.154 114.6) |
| XYZ | xyz(34.2222, 42.7228, 9.0278) |
| Luminance | 0.4272 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.12
Snot
#ACBB0D
ΔE00 2.28
Pea
#A4BF20
ΔE00 3.42
Sick Green
#9DB92C
ΔE00 3.46
Puke Green
#9AAE07
ΔE00 3.58
Bright Olive
#9CBB04
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABB72E #3A2EB7
analogous
#B77E2E #ABB72E #67B72E
triadic
#ABB72E #2EABB7 #B72EAB
tetradic
#ABB72E #2EB77E #3A2EB7 #B72E67
square
#ABB72E #2EB77E #3A2EB7 #B72E67
split-complementary
#ABB72E #2E67B7 #7E2EB7
monochromatic
#505515 #7D8622 #ABB72E #C7D34F #D7DF80
Accessibility & contrast
On white
2.20
#ABB72E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.54
#ABB72E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABB72E
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABB72E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABB72E | 1.00 | 2.20 | 9.54 | 9.54 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AE0E
Deuteranopia (green-blind)
#C4B03A
Tritanopia (blue-blind)
#B6AC9D
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #abb72e; /* rgb */ color: rgb(171, 183, 46); /* oklch */ color: oklch(74.6% 0.154 114.6);
Tailwind
colors: {
custom: {
50: '#c8cc71',
500: '#abb72e',
950: '#000000',
},
}SCSS
$custom: #abb72e; $custom-light: #c8cc71; $custom-dark: #000000;
JSON
{
"hex": "#abb72e",
"rgb": {
"r": 171,
"g": 183,
"b": 46
},
"hsl": {
"h": 65.255,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.74601,
"c": 0.15355,
"h": 114.6
},
"luminance": 0.42722
}Semantic roles & 50–950 ramp
primary
#ABB72E
secondary
#8079C8
accent
#45E353
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B