#51AB2C#51AB2C
#51AB2C is a light, vivid green. Relative luminance 0.311; OKLCH L 66.1% C 0.182 H 138.3°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #51AB2C |
|---|---|
| RGB | rgb(81, 171, 44) |
| HSL | hsl(103, 59%, 42%) |
| HSV | hsv(103, 74%, 67%) |
| CMYK | cmyk(52.6%, 0%, 74.3%, 32.9%) |
| CIE-LAB | lab(62.55, -49.30, 53.80) |
| CIE-LCH | lch(62.55, 72.97, 132.50°) |
| OKLab | oklab(66.08% -0.1361 0.1211) |
| OKLCH | oklch(66.08% 0.182 138.3) |
| XYZ | xyz(18.4102, 31.0556, 7.4066) |
| Luminance | 0.3106 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.32
Lawn Green
#4DA409
ΔE00 2.99
Leaf Green
#5CA904
ΔE00 3.46
Leafy Green
#51B73B
ΔE00 3.56
Green (survey)
#15B01A
ΔE00 3.80
Mid Green
#50A747
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51AB2C #862CAB
analogous
#90AB2C #51AB2C #2CAB47
triadic
#51AB2C #2C51AB #AB2C51
tetradic
#51AB2C #2C90AB #862CAB #AB472C
square
#51AB2C #2C90AB #862CAB #AB472C
split-complementary
#51AB2C #472CAB #AB2C90
monochromatic
#234A13 #3A7A1F #51AB2C #6DCF45 #93DC76
Accessibility & contrast
On white
2.91
#51AB2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.21
#51AB2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #51AB2C
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51AB2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##51AB2C | 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)
#B09C13
Deuteranopia (green-blind)
#A59439
Tritanopia (blue-blind)
#4AA592
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #51ab2c; /* rgb */ color: rgb(81, 171, 44); /* oklch */ color: oklch(66.1% 0.182 138.3);
Tailwind
colors: {
custom: {
50: '#8bc56e',
500: '#51ab2c',
950: '#000000',
},
}SCSS
$custom: #51ab2c; $custom-light: #8bc56e; $custom-dark: #000000;
JSON
{
"hex": "#51ab2c",
"rgb": {
"r": 81,
"g": 171,
"b": 44
},
"hsl": {
"h": 102.52,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.66082,
"c": 0.18221,
"h": 138.3
},
"luminance": 0.31057
}Semantic roles & 50–950 ramp
primary
#51AB2C
secondary
#AB6FC3
accent
#46E2B5
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1308
muted
#7E827B