#51B221#51B221
#51B221 is a light, vivid green. Relative luminance 0.337; OKLCH L 67.8% C 0.196 H 138.0°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #51B221 |
|---|---|
| RGB | rgb(81, 178, 33) |
| HSL | hsl(100, 69%, 41%) |
| HSV | hsv(100, 81%, 70%) |
| CMYK | cmyk(54.5%, 0%, 81.5%, 30.2%) |
| CIE-LAB | lab(64.72, -52.60, 59.40) |
| CIE-LCH | lch(64.72, 79.34, 131.53°) |
| OKLab | oklab(67.85% -0.1457 0.1312) |
| OKLCH | oklch(67.85% 0.196 138) |
| XYZ | xyz(19.5876, 33.6984, 6.9108) |
| Luminance | 0.3370 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grass
#5CAC2D
ΔE00 2.24
Kermit Green
#5CB200
ΔE00 2.42
Kelly Green
#4CBB17
ΔE00 2.61
Leafy Green
#51B73B
ΔE00 2.74
Frog Green
#58BC08
ΔE00 3.35
Leaf Green
#5CA904
ΔE00 3.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51B221 #8221B2
analogous
#9AB221 #51B221 #21B23A
triadic
#51B221 #2151B2 #B22151
tetradic
#51B221 #219AB2 #8221B2 #B23A21
square
#51B221 #219AB2 #8221B2 #B23A21
split-complementary
#51B221 #3A21B2 #B2219A
monochromatic
#224B0E #3A7E17 #51B221 #6CDA36 #92E36A
Accessibility & contrast
On white
2.71
#51B221 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#51B221 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #51B221
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51B221 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##51B221 | 1.00 | 2.71 | 7.74 | 7.74 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#AC9A33
Tritanopia (blue-blind)
#49AC98
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #51b221; /* rgb */ color: rgb(81, 178, 33); /* oklch */ color: oklch(67.8% 0.196 138.0);
Tailwind
colors: {
custom: {
50: '#8cca6a',
500: '#51b221',
950: '#000000',
},
}SCSS
$custom: #51b221; $custom-light: #8cca6a; $custom-dark: #000000;
JSON
{
"hex": "#51b221",
"rgb": {
"r": 81,
"g": 178,
"b": 33
},
"hsl": {
"h": 100.138,
"s": 68.72,
"l": 41.373
},
"oklch": {
"l": 0.6785,
"c": 0.19606,
"h": 138
},
"luminance": 0.337
}Semantic roles & 50–950 ramp
primary
#51B221
secondary
#A866C9
accent
#3CECB2
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A