#56B31C#56B31C
#56B31C is a light, vivid yellow-green. Relative luminance 0.343; OKLCH L 68.3% C 0.197 H 137.0°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #56B31C |
|---|---|
| RGB | rgb(86, 179, 28) |
| HSL | hsl(97, 73%, 41%) |
| HSV | hsv(97, 84%, 70%) |
| CMYK | cmyk(52%, 0%, 84.4%, 29.8%) |
| CIE-LAB | lab(65.20, -51.78, 61.21) |
| CIE-LCH | lch(65.20, 80.18, 130.23°) |
| OKLab | oklab(68.29% -0.144 0.1343) |
| OKLCH | oklch(68.29% 0.197 137) |
| XYZ | xyz(20.1668, 34.3010, 6.6564) |
| Luminance | 0.3430 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Kermit Green
#5CB200
ΔE00 1.67
Kelly Green
#4CBB17
ΔE00 2.37
Grass
#5CAC2D
ΔE00 2.54
Frog Green
#58BC08
ΔE00 2.74
Leafy Green
#51B73B
ΔE00 3.21
Leaf Green
#5CA904
ΔE00 3.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56B31C #791CB3
analogous
#A1B31C #56B31C #1CB32E
triadic
#56B31C #1C56B3 #B31C56
tetradic
#56B31C #1CA1B3 #791CB3 #B32E1C
square
#56B31C #1CA1B3 #791CB3 #B32E1C
split-complementary
#56B31C #2E1CB3 #B31CA1
monochromatic
#23490B #3D7E14 #56B31C #72DE2E #95E763
Accessibility & contrast
On white
2.67
#56B31C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.86
#56B31C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #56B31C
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56B31C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##56B31C | 1.00 | 2.67 | 7.86 | 7.86 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AD9B30
Tritanopia (blue-blind)
#50AC98
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #56b31c; /* rgb */ color: rgb(86, 179, 28); /* oklch */ color: oklch(68.3% 0.197 137.0);
Tailwind
colors: {
custom: {
50: '#8fca68',
500: '#56b31c',
950: '#000000',
},
}SCSS
$custom: #56b31c; $custom-light: #8fca68; $custom-dark: #000000;
JSON
{
"hex": "#56b31c",
"rgb": {
"r": 86,
"g": 179,
"b": 28
},
"hsl": {
"h": 96.954,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.68289,
"c": 0.19691,
"h": 137
},
"luminance": 0.34302
}Semantic roles & 50–950 ramp
primary
#56B31C
secondary
#A25FCB
accent
#38F0A9
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1307
muted
#7E827A