#51A42B#51A42B
#51A42B is a light, vivid green. Relative luminance 0.285; OKLCH L 64.2% C 0.174 H 137.8°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #51A42B |
|---|---|
| RGB | rgb(81, 164, 43) |
| HSL | hsl(101, 58%, 41%) |
| HSV | hsv(101, 74%, 64%) |
| CMYK | cmyk(50.6%, 0%, 73.8%, 35.7%) |
| CIE-LAB | lab(60.31, -46.65, 51.92) |
| CIE-LCH | lch(60.31, 69.80, 131.94°) |
| OKLab | oklab(64.24% -0.1291 0.117) |
| OKLCH | oklch(64.24% 0.174 137.8) |
| XYZ | xyz(17.1043, 28.4734, 6.8797) |
| Luminance | 0.2848 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.35
Grass
#5CAC2D
ΔE00 2.72
Grassy Green
#419C03
ΔE00 3.50
Grass Green
#3F9B0B
ΔE00 3.63
Mid Green
#50A747
ΔE00 3.75
Leaf Green
#5CA904
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51A42B #7E2BA4
analogous
#8DA42B #51A42B #2BA441
triadic
#51A42B #2B51A4 #A42B51
tetradic
#51A42B #2B8DA4 #7E2BA4 #A4412B
square
#51A42B #2B8DA4 #7E2BA4 #A4412B
split-complementary
#51A42B #412BA4 #A42B8D
monochromatic
#214312 #39741E #51A42B #6CCD3F #91D970
Accessibility & contrast
On white
3.14
#51A42B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.69
#51A42B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #51A42B
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51A42B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##51A42B | 1.00 | 3.14 | 6.69 | 6.69 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99614
Deuteranopia (green-blind)
#9E8F37
Tritanopia (blue-blind)
#4B9E8D
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #51a42b; /* rgb */ color: rgb(81, 164, 43); /* oklch */ color: oklch(64.2% 0.174 137.8);
Tailwind
colors: {
custom: {
50: '#8ac06c',
500: '#51a42b',
950: '#000000',
},
}SCSS
$custom: #51a42b; $custom-light: #8ac06c; $custom-dark: #000000;
JSON
{
"hex": "#51a42b",
"rgb": {
"r": 81,
"g": 164,
"b": 43
},
"hsl": {
"h": 101.157,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.64235,
"c": 0.17423,
"h": 137.8
},
"luminance": 0.28475
}Semantic roles & 50–950 ramp
primary
#51A42B
secondary
#A56AC1
accent
#46E2B1
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A