#56B228#56B228
#56B228 is a light, vivid green. Relative luminance 0.340; OKLCH L 68.1% C 0.190 H 137.6°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #56B228 |
|---|---|
| RGB | rgb(86, 178, 40) |
| HSL | hsl(100, 63%, 43%) |
| HSV | hsv(100, 78%, 70%) |
| CMYK | cmyk(51.7%, 0%, 77.5%, 30.2%) |
| CIE-LAB | lab(64.94, -50.79, 57.56) |
| CIE-LCH | lch(64.94, 76.76, 131.42°) |
| OKLab | oklab(68.09% -0.1407 0.1283) |
| OKLCH | oklch(68.09% 0.19 137.6) |
| XYZ | xyz(20.1405, 33.9709, 7.5028) |
| Luminance | 0.3397 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.91
Leafy Green
#51B73B
ΔE00 2.48
Kermit Green
#5CB200
ΔE00 2.58
Kelly Green
#4CBB17
ΔE00 2.84
Nasty Green
#70B23F
ΔE00 3.32
Frog Green
#58BC08
ΔE00 3.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56B228 #8428B2
analogous
#9BB228 #56B228 #28B23F
triadic
#56B228 #2856B2 #B22856
tetradic
#56B228 #289BB2 #8428B2 #B23F28
square
#56B228 #289BB2 #8428B2 #B23F28
split-complementary
#56B228 #3F28B2 #B2289B
monochromatic
#264E12 #3E801D #56B228 #73D543 #98E075
Accessibility & contrast
On white
2.69
#56B228 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#56B228 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #56B228
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56B228 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##56B228 | 1.00 | 2.69 | 7.79 | 7.79 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A202
Deuteranopia (green-blind)
#AC9B37
Tritanopia (blue-blind)
#4FAC98
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #56b228; /* rgb */ color: rgb(86, 178, 40); /* oklch */ color: oklch(68.1% 0.190 137.6);
Tailwind
colors: {
custom: {
50: '#8fca6d',
500: '#56b228',
950: '#000000',
},
}SCSS
$custom: #56b228; $custom-light: #8fca6d; $custom-dark: #000000;
JSON
{
"hex": "#56b228",
"rgb": {
"r": 86,
"g": 178,
"b": 40
},
"hsl": {
"h": 100,
"s": 63.303,
"l": 42.745
},
"oklch": {
"l": 0.68091,
"c": 0.19043,
"h": 137.6
},
"luminance": 0.33972
}Semantic roles & 50–950 ramp
primary
#56B228
secondary
#AA6FC7
accent
#41E6AF
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B