#51AC2C#51AC2C
#51AC2C is a light, vivid green. Relative luminance 0.314; OKLCH L 66.3% C 0.183 H 138.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #51AC2C |
|---|---|
| RGB | rgb(81, 172, 44) |
| HSL | hsl(103, 59%, 42%) |
| HSV | hsv(103, 74%, 67%) |
| CMYK | cmyk(52.9%, 0%, 74.4%, 32.5%) |
| CIE-LAB | lab(62.87, -49.68, 54.11) |
| CIE-LCH | lch(62.87, 73.46, 132.56°) |
| OKLab | oklab(66.34% -0.1372 0.1218) |
| OKLCH | oklch(66.34% 0.183 138.4) |
| XYZ | xyz(18.5998, 31.4348, 7.4698) |
| Luminance | 0.3144 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.28
Lawn Green
#4DA409
ΔE00 3.17
Leafy Green
#51B73B
ΔE00 3.30
Leaf Green
#5CA904
ΔE00 3.48
Green (survey)
#15B01A
ΔE00 3.69
Kermit Green
#5CB200
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51AC2C #872CAC
analogous
#91AC2C #51AC2C #2CAC47
triadic
#51AC2C #2C51AC #AC2C51
tetradic
#51AC2C #2C91AC #872CAC #AC472C
square
#51AC2C #2C91AC #872CAC #AC472C
split-complementary
#51AC2C #472CAC #AC2C91
monochromatic
#234B13 #3A7B20 #51AC2C #6ED046 #94DC76
Accessibility & contrast
On white
2.88
#51AC2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#51AC2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #51AC2C
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51AC2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##51AC2C | 1.00 | 2.88 | 7.29 | 7.29 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D13
Deuteranopia (green-blind)
#A69539
Tritanopia (blue-blind)
#49A693
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #51ac2c; /* rgb */ color: rgb(81, 172, 44); /* oklch */ color: oklch(66.3% 0.183 138.4);
Tailwind
colors: {
custom: {
50: '#8bc56e',
500: '#51ac2c',
950: '#000000',
},
}SCSS
$custom: #51ac2c; $custom-light: #8bc56e; $custom-dark: #000000;
JSON
{
"hex": "#51ac2c",
"rgb": {
"r": 81,
"g": 172,
"b": 44
},
"hsl": {
"h": 102.656,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.66344,
"c": 0.18342,
"h": 138.4
},
"luminance": 0.31436
}Semantic roles & 50–950 ramp
primary
#51AC2C
secondary
#AC70C4
accent
#45E2B5
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1308
muted
#7E827B