#56AB1C#56AB1C
#56AB1C is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 66.2% C 0.188 H 136.4°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #56AB1C |
|---|---|
| RGB | rgb(86, 171, 28) |
| HSL | hsl(96, 72%, 39%) |
| HSV | hsv(96, 84%, 67%) |
| CMYK | cmyk(49.7%, 0%, 83.6%, 32.9%) |
| CIE-LAB | lab(62.66, -48.74, 58.95) |
| CIE-LCH | lch(62.66, 76.48, 129.58°) |
| OKLab | oklab(66.2% -0.1359 0.1295) |
| OKLCH | oklch(66.2% 0.188 136.4) |
| XYZ | xyz(18.6097, 31.1868, 6.1374) |
| Luminance | 0.3119 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.38
Leaf Green
#5CA904
ΔE00 1.76
Lawn Green
#4DA409
ΔE00 2.31
Kermit Green
#5CB200
ΔE00 2.71
Leaf
#71AA34
ΔE00 3.63
Nasty Green
#70B23F
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56AB1C #711CAB
analogous
#9EAB1C #56AB1C #1CAB29
triadic
#56AB1C #1C56AB #AB1C56
tetradic
#56AB1C #1C9EAB #711CAB #AB291C
square
#56AB1C #1C9EAB #711CAB #AB291C
split-complementary
#56AB1C #291CAB #AB1C9E
monochromatic
#21420B #3C7613 #56AB1C #71DC28 #94E45D
Accessibility & contrast
On white
2.90
#56AB1C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.24
#56AB1C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #56AB1C
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56AB1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##56AB1C | 1.00 | 2.90 | 7.24 | 7.24 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#A6952E
Tritanopia (blue-blind)
#52A492
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #56ab1c; /* rgb */ color: rgb(86, 171, 28); /* oklch */ color: oklch(66.2% 0.188 136.4);
Tailwind
colors: {
custom: {
50: '#8ec567',
500: '#56ab1c',
950: '#000000',
},
}SCSS
$custom: #56ab1c; $custom-light: #8ec567; $custom-dark: #000000;
JSON
{
"hex": "#56ab1c",
"rgb": {
"r": 86,
"g": 171,
"b": 28
},
"hsl": {
"h": 95.664,
"s": 71.859,
"l": 39.02
},
"oklch": {
"l": 0.662,
"c": 0.18769,
"h": 136.4
},
"luminance": 0.31188
}Semantic roles & 50–950 ramp
primary
#56AB1C
secondary
#9C5AC9
accent
#39EFA5
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1307
muted
#7E827A