#51AB2E#51AB2E
#51AB2E is a light, vivid green. Relative luminance 0.311; OKLCH L 66.1% C 0.181 H 138.5°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #51AB2E |
|---|---|
| RGB | rgb(81, 171, 46) |
| HSL | hsl(103, 58%, 43%) |
| HSV | hsv(103, 73%, 67%) |
| CMYK | cmyk(52.6%, 0%, 73.1%, 32.9%) |
| CIE-LAB | lab(62.57, -49.16, 53.08) |
| CIE-LCH | lch(62.57, 72.34, 132.80°) |
| OKLab | oklab(66.1% -0.1356 0.1199) |
| OKLCH | oklch(66.1% 0.181 138.5) |
| XYZ | xyz(18.4487, 31.0710, 7.6094) |
| Luminance | 0.3107 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.42
Lawn Green
#4DA409
ΔE00 3.15
Leafy Green
#51B73B
ΔE00 3.50
Leaf Green
#5CA904
ΔE00 3.65
Green (survey)
#15B01A
ΔE00 3.81
Mid Green
#50A747
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51AB2E #882EAB
analogous
#90AB2E #51AB2E #2EAB49
triadic
#51AB2E #2E51AB #AB2E51
tetradic
#51AB2E #2E90AB #882EAB #AB492E
square
#51AB2E #2E90AB #882EAB #AB492E
split-complementary
#51AB2E #492EAB #AB2E90
monochromatic
#234B14 #3A7B21 #51AB2E #6ECE48 #94DB79
Accessibility & contrast
On white
2.91
#51AB2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.21
#51AB2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #51AB2E
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51AB2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##51AB2E | 1.00 | 2.91 | 7.21 | 7.21 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C17
Deuteranopia (green-blind)
#A5943A
Tritanopia (blue-blind)
#49A593
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #51ab2e; /* rgb */ color: rgb(81, 171, 46); /* oklch */ color: oklch(66.1% 0.181 138.5);
Tailwind
colors: {
custom: {
50: '#8bc56f',
500: '#51ab2e',
950: '#000000',
},
}SCSS
$custom: #51ab2e; $custom-light: #8bc56f; $custom-dark: #000000;
JSON
{
"hex": "#51ab2e",
"rgb": {
"r": 81,
"g": 171,
"b": 46
},
"hsl": {
"h": 103.2,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.66097,
"c": 0.18101,
"h": 138.5
},
"luminance": 0.31072
}Semantic roles & 50–950 ramp
primary
#51AB2E
secondary
#AC72C3
accent
#47E1B6
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1308
muted
#7E827B