#51AF2F#51AF2F
#51AF2F is a light, vivid green. Relative luminance 0.326; OKLCH L 67.2% C 0.185 H 138.8°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #51AF2F |
|---|---|
| RGB | rgb(81, 175, 47) |
| HSL | hsl(104, 58%, 44%) |
| HSV | hsv(104, 73%, 69%) |
| CMYK | cmyk(53.7%, 0%, 73.1%, 31.4%) |
| CIE-LAB | lab(63.85, -50.61, 54.00) |
| CIE-LCH | lch(63.85, 74.01, 133.14°) |
| OKLab | oklab(67.15% -0.1395 0.122) |
| OKLCH | oklch(67.15% 0.185 138.8) |
| XYZ | xyz(19.2357, 32.6130, 7.9701) |
| Luminance | 0.3261 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.62
Leafy Green
#51B73B
ΔE00 2.43
Green (survey)
#15B01A
ΔE00 3.52
Nasty Green
#70B23F
ΔE00 3.71
Kermit Green
#5CB200
ΔE00 3.81
Leaf Green
#5CA904
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51AF2F #8D2FAF
analogous
#91AF2F #51AF2F #2FAF4D
triadic
#51AF2F #2F51AF #AF2F51
tetradic
#51AF2F #2F91AF #8D2FAF #AF4D2F
square
#51AF2F #2F91AF #8D2FAF #AF4D2F
split-complementary
#51AF2F #4D2FAF #AF2F91
monochromatic
#244F15 #3B7F22 #51AF2F #6FCF4C #96DC7C
Accessibility & contrast
On white
2.79
#51AF2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.52
#51AF2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #51AF2F
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51AF2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##51AF2F | 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)
#B4A018
Deuteranopia (green-blind)
#A8983C
Tritanopia (blue-blind)
#48A996
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #51af2f; /* rgb */ color: rgb(81, 175, 47); /* oklch */ color: oklch(67.2% 0.185 138.8);
Tailwind
colors: {
custom: {
50: '#8bc870',
500: '#51af2f',
950: '#000000',
},
}SCSS
$custom: #51af2f; $custom-light: #8bc870; $custom-dark: #000000;
JSON
{
"hex": "#51af2f",
"rgb": {
"r": 81,
"g": 175,
"b": 47
},
"hsl": {
"h": 104.063,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.67152,
"c": 0.18528,
"h": 138.8
},
"luminance": 0.32615
}Semantic roles & 50–950 ramp
primary
#51AF2F
secondary
#AF75C4
accent
#47E1B8
background
#F9FCF7
surface
#F1F8ED
border
#CBD1C8
text
#0D1308
muted
#7E827B