#51B227#51B227
#51B227 is a light, vivid green. Relative luminance 0.337; OKLCH L 67.9% C 0.193 H 138.4°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #51B227 |
|---|---|
| RGB | rgb(81, 178, 39) |
| HSL | hsl(102, 64%, 43%) |
| HSV | hsv(102, 78%, 70%) |
| CMYK | cmyk(54.5%, 0%, 78.1%, 30.2%) |
| CIE-LAB | lab(64.75, -52.27, 57.63) |
| CIE-LCH | lch(64.75, 77.81, 132.21°) |
| OKLab | oklab(67.88% -0.1444 0.1284) |
| OKLCH | oklch(67.88% 0.193 138.4) |
| XYZ | xyz(19.6792, 33.7350, 7.3936) |
| Luminance | 0.3374 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grass
#5CAC2D
ΔE00 2.12
Leafy Green
#51B73B
ΔE00 2.32
Kelly Green
#4CBB17
ΔE00 2.79
Kermit Green
#5CB200
ΔE00 2.87
Green (survey)
#15B01A
ΔE00 3.60
Frog Green
#58BC08
ΔE00 3.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51B227 #8827B2
analogous
#96B227 #51B227 #27B243
triadic
#51B227 #2751B2 #B22751
tetradic
#51B227 #2796B2 #8827B2 #B24327
square
#51B227 #2796B2 #8827B2 #B24327
split-complementary
#51B227 #4327B2 #B22796
monochromatic
#234E11 #3A801C #51B227 #6ED541 #94E073
Accessibility & contrast
On white
2.71
#51B227 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.75
#51B227 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #51B227
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51B227 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##51B227 | 1.00 | 2.71 | 7.75 | 7.75 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#AB9A37
Tritanopia (blue-blind)
#48AC98
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #51b227; /* rgb */ color: rgb(81, 178, 39); /* oklch */ color: oklch(67.9% 0.193 138.4);
Tailwind
colors: {
custom: {
50: '#8cca6c',
500: '#51b227',
950: '#000000',
},
}SCSS
$custom: #51b227; $custom-light: #8cca6c; $custom-dark: #000000;
JSON
{
"hex": "#51b227",
"rgb": {
"r": 81,
"g": 178,
"b": 39
},
"hsl": {
"h": 101.871,
"s": 64.055,
"l": 42.549
},
"oklch": {
"l": 0.67883,
"c": 0.19327,
"h": 138.4
},
"luminance": 0.33737
}Semantic roles & 50–950 ramp
primary
#51B227
secondary
#AC6DC8
accent
#41E7B5
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A