#51AB1C#51AB1C
#51AB1C is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.0% C 0.190 H 137.2°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #51AB1C |
|---|---|
| RGB | rgb(81, 171, 28) |
| HSL | hsl(98, 72%, 39%) |
| HSV | hsv(98, 84%, 67%) |
| CMYK | cmyk(52.6%, 0%, 83.6%, 32.9%) |
| CIE-LAB | lab(62.47, -50.23, 58.70) |
| CIE-LCH | lch(62.47, 77.26, 130.56°) |
| OKLab | oklab(65.99% -0.1395 0.1291) |
| OKLCH | oklch(65.99% 0.19 137.2) |
| XYZ | xyz(18.1653, 30.9576, 6.1166) |
| Luminance | 0.3096 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.53
Lawn Green
#4DA409
ΔE00 2.23
Leaf Green
#5CA904
ΔE00 2.23
Kermit Green
#5CB200
ΔE00 3.02
Green (survey)
#15B01A
ΔE00 4.02
Leaf
#71AA34
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51AB1C #761CAB
analogous
#99AB1C #51AB1C #1CAB2F
triadic
#51AB1C #1C51AB #AB1C51
tetradic
#51AB1C #1C99AB #761CAB #AB2F1C
square
#51AB1C #1C99AB #761CAB #AB2F1C
split-complementary
#51AB1C #2F1CAB #AB1C99
monochromatic
#1F420B #387613 #51AB1C #6BDC28 #8FE45D
Accessibility & contrast
On white
2.92
#51AB1C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.19
#51AB1C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #51AB1C
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51AB1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##51AB1C | 1.00 | 2.92 | 7.19 | 7.19 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#A5942E
Tritanopia (blue-blind)
#4BA592
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #51ab1c; /* rgb */ color: rgb(81, 171, 28); /* oklch */ color: oklch(66.0% 0.190 137.2);
Tailwind
colors: {
custom: {
50: '#8bc567',
500: '#51ab1c',
950: '#000000',
},
}SCSS
$custom: #51ab1c; $custom-light: #8bc567; $custom-dark: #000000;
JSON
{
"hex": "#51ab1c",
"rgb": {
"r": 81,
"g": 171,
"b": 28
},
"hsl": {
"h": 97.762,
"s": 71.859,
"l": 39.02
},
"oklch": {
"l": 0.65987,
"c": 0.19008,
"h": 137.2
},
"luminance": 0.30959
}Semantic roles & 50–950 ramp
primary
#51AB1C
secondary
#A05AC9
accent
#39EFAB
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A