#51AF2D#51AF2D
#51AF2D is a light, vivid green. Relative luminance 0.326; OKLCH L 67.1% C 0.186 H 138.7°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #51AF2D |
|---|---|
| RGB | rgb(81, 175, 45) |
| HSL | hsl(103, 59%, 43%) |
| HSV | hsv(103, 74%, 69%) |
| CMYK | cmyk(53.7%, 0%, 74.3%, 31.4%) |
| CIE-LAB | lab(63.83, -50.75, 54.71) |
| CIE-LCH | lch(63.83, 74.63, 132.85°) |
| OKLab | oklab(67.14% -0.14 0.1232) |
| OKLCH | oklch(67.14% 0.186 138.7) |
| XYZ | xyz(19.1962, 32.5972, 7.7624) |
| Luminance | 0.3260 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.55
Leafy Green
#51B73B
ΔE00 2.52
Green (survey)
#15B01A
ΔE00 3.51
Kermit Green
#5CB200
ΔE00 3.62
Nasty Green
#70B23F
ΔE00 3.71
Leaf Green
#5CA904
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51AF2D #8B2DAF
analogous
#92AF2D #51AF2D #2DAF4A
triadic
#51AF2D #2D51AF #AF2D51
tetradic
#51AF2D #2D92AF #8B2DAF #AF4A2D
square
#51AF2D #2D92AF #8B2DAF #AF4A2D
split-complementary
#51AF2D #4A2DAF #AF2D92
monochromatic
#244E14 #3A7E20 #51AF2D #6ED049 #95DD7A
Accessibility & contrast
On white
2.79
#51AF2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.52
#51AF2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #51AF2D
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51AF2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##51AF2D | 1.00 | 2.79 | 7.52 | 7.52 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F13
Deuteranopia (green-blind)
#A8983A
Tritanopia (blue-blind)
#49A996
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #51af2d; /* rgb */ color: rgb(81, 175, 45); /* oklch */ color: oklch(67.1% 0.186 138.7);
Tailwind
colors: {
custom: {
50: '#8bc86f',
500: '#51af2d',
950: '#000000',
},
}SCSS
$custom: #51af2d; $custom-light: #8bc86f; $custom-dark: #000000;
JSON
{
"hex": "#51af2d",
"rgb": {
"r": 81,
"g": 175,
"b": 45
},
"hsl": {
"h": 103.385,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.67137,
"c": 0.18647,
"h": 138.7
},
"luminance": 0.32599
}Semantic roles & 50–950 ramp
primary
#51AF2D
secondary
#AE73C5
accent
#46E2B7
background
#F9FCF7
surface
#F1F8ED
border
#CBD1C8
text
#0D1308
muted
#7E827B