#ABB72D#ABB72D
#ABB72D 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 | #ABB72D |
|---|---|
| RGB | rgb(171, 183, 45) |
| HSL | hsl(65, 61%, 45%) |
| HSV | hsv(65, 75%, 72%) |
| CMYK | cmyk(6.6%, 0%, 75.4%, 28.2%) |
| CIE-LAB | lab(71.36, -20.92, 63.74) |
| CIE-LCH | lch(71.36, 67.09, 108.17°) |
| OKLab | oklab(74.6% -0.0641 0.1401) |
| OKLCH | oklch(74.6% 0.154 114.6) |
| XYZ | xyz(34.2027, 42.7150, 8.9252) |
| Luminance | 0.4271 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.03
Snot
#ACBB0D
ΔE00 2.21
Pea
#A4BF20
ΔE00 3.41
Sick Green
#9DB92C
ΔE00 3.48
Puke Green
#9AAE07
ΔE00 3.56
Bright Olive
#9CBB04
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABB72D #392DB7
analogous
#B77E2D #ABB72D #66B72D
triadic
#ABB72D #2DABB7 #B72DAB
tetradic
#ABB72D #2DB77E #392DB7 #B72D66
square
#ABB72D #2DB77E #392DB7 #B72D66
split-complementary
#ABB72D #2D66B7 #7E2DB7
monochromatic
#4F5515 #7D8621 #ABB72D #C8D34E #D7DF7F
Accessibility & contrast
On white
2.20
#ABB72D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.54
#ABB72D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABB72D
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABB72D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABB72D | 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)
#C4AE0B
Deuteranopia (green-blind)
#C4B039
Tritanopia (blue-blind)
#B6AC9D
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #abb72d; /* rgb */ color: rgb(171, 183, 45); /* oklch */ color: oklch(74.6% 0.154 114.6);
Tailwind
colors: {
custom: {
50: '#c8cc71',
500: '#abb72d',
950: '#000000',
},
}SCSS
$custom: #abb72d; $custom-light: #c8cc71; $custom-dark: #000000;
JSON
{
"hex": "#abb72d",
"rgb": {
"r": 171,
"g": 183,
"b": 45
},
"hsl": {
"h": 65.217,
"s": 60.526,
"l": 44.706
},
"oklch": {
"l": 0.74595,
"c": 0.15409,
"h": 114.6
},
"luminance": 0.42714
}Semantic roles & 50–950 ramp
primary
#ABB72D
secondary
#7F78C8
accent
#44E452
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B