#51AF2C#51AF2C
#51AF2C is a light, vivid green. Relative luminance 0.326; OKLCH L 67.1% C 0.187 H 138.6°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #51AF2C |
|---|---|
| RGB | rgb(81, 175, 44) |
| HSL | hsl(103, 60%, 43%) |
| HSV | hsv(103, 75%, 69%) |
| CMYK | cmyk(53.7%, 0%, 74.9%, 31.4%) |
| CIE-LAB | lab(63.83, -50.82, 55.06) |
| CIE-LCH | lch(63.83, 74.93, 132.71°) |
| OKLab | oklab(67.13% -0.1403 0.1238) |
| OKLCH | oklch(67.13% 0.187 138.6) |
| XYZ | xyz(19.1772, 32.5896, 7.6622) |
| Luminance | 0.3259 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.52
Leafy Green
#51B73B
ΔE00 2.57
Green (survey)
#15B01A
ΔE00 3.51
Kermit Green
#5CB200
ΔE00 3.52
Leaf Green
#5CA904
ΔE00 3.69
Nasty Green
#70B23F
ΔE00 3.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51AF2C #8A2CAF
analogous
#93AF2C #51AF2C #2CAF48
triadic
#51AF2C #2C51AF #AF2C51
tetradic
#51AF2C #2C93AF #8A2CAF #AF482C
square
#51AF2C #2C93AF #8A2CAF #AF482C
split-complementary
#51AF2C #482CAF #AF2C93
monochromatic
#244D13 #3A7E20 #51AF2C #6ED147 #95DD78
Accessibility & contrast
On white
2.79
#51AF2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.52
#51AF2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #51AF2C
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51AF2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##51AF2C | 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)
#B49F11
Deuteranopia (green-blind)
#A8983A
Tritanopia (blue-blind)
#49A996
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #51af2c; /* rgb */ color: rgb(81, 175, 44); /* oklch */ color: oklch(67.1% 0.187 138.6);
Tailwind
colors: {
custom: {
50: '#8bc86e',
500: '#51af2c',
950: '#000000',
},
}SCSS
$custom: #51af2c; $custom-light: #8bc86e; $custom-dark: #000000;
JSON
{
"hex": "#51af2c",
"rgb": {
"r": 81,
"g": 175,
"b": 44
},
"hsl": {
"h": 103.053,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.6713,
"c": 0.18704,
"h": 138.6
},
"luminance": 0.32591
}Semantic roles & 50–950 ramp
primary
#51AF2C
secondary
#AE72C5
accent
#45E3B6
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1308
muted
#7E827B