#51A42C#51A42C
#51A42C is a light, vivid green. Relative luminance 0.285; OKLCH L 64.2% C 0.174 H 137.9°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #51A42C |
|---|---|
| RGB | rgb(81, 164, 44) |
| HSL | hsl(102, 58%, 41%) |
| HSV | hsv(102, 73%, 64%) |
| CMYK | cmyk(50.6%, 0%, 73.2%, 35.7%) |
| CIE-LAB | lab(60.32, -46.58, 51.55) |
| CIE-LCH | lch(60.32, 69.48, 132.10°) |
| OKLab | oklab(64.24% -0.1288 0.1164) |
| OKLCH | oklch(64.24% 0.174 137.9) |
| XYZ | xyz(17.1228, 28.4809, 6.9775) |
| Luminance | 0.2848 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.46
Grass
#5CAC2D
ΔE00 2.75
Grassy Green
#419C03
ΔE00 3.56
Mid Green
#50A747
ΔE00 3.65
Grass Green
#3F9B0B
ΔE00 3.68
Leaf Green
#5CA904
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51A42C #7F2CA4
analogous
#8DA42C #51A42C #2CA443
triadic
#51A42C #2C51A4 #A42C51
tetradic
#51A42C #2C8DA4 #7F2CA4 #A4432C
square
#51A42C #2C8DA4 #7F2CA4 #A4432C
split-complementary
#51A42C #432CA4 #A42C8D
monochromatic
#214312 #39741F #51A42C #6CCC41 #91D971
Accessibility & contrast
On white
3.14
#51A42C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.70
#51A42C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #51A42C
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51A42C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##51A42C | 1.00 | 3.14 | 6.70 | 6.70 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99617
Deuteranopia (green-blind)
#9E8F38
Tritanopia (blue-blind)
#4B9E8D
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #51a42c; /* rgb */ color: rgb(81, 164, 44); /* oklch */ color: oklch(64.2% 0.174 137.9);
Tailwind
colors: {
custom: {
50: '#8ac06d',
500: '#51a42c',
950: '#000000',
},
}SCSS
$custom: #51a42c; $custom-light: #8ac06d; $custom-dark: #000000;
JSON
{
"hex": "#51a42c",
"rgb": {
"r": 81,
"g": 164,
"b": 44
},
"hsl": {
"h": 101.5,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.64243,
"c": 0.17362,
"h": 137.9
},
"luminance": 0.28482
}Semantic roles & 50–950 ramp
primary
#51A42C
secondary
#A66BC0
accent
#47E1B1
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A