#1E781A#1E781A
#1E781A is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.2% C 0.152 H 142.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #1E781A |
|---|---|
| RGB | rgb(30, 120, 26) |
| HSL | hsl(117, 64%, 29%) |
| HSV | hsv(117, 78%, 47%) |
| CMYK | cmyk(75%, 0%, 78.3%, 52.9%) |
| CIE-LAB | lab(43.92, -44.41, 41.30) |
| CIE-LCH | lch(43.92, 60.64, 137.08°) |
| OKLab | oklab(50.2% -0.1208 0.093) |
| OKLCH | oklch(50.2% 0.152 142.4) |
| XYZ | xyz(7.4379, 13.7827, 3.2454) |
| Luminance | 0.1378 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.50
Green
#008000
ΔE00 3.60
Darkish Green
#287C37
ΔE00 4.41
Dark Grass Green
#388004
ΔE00 5.01
Forestgreen (CSS)
#228B22
ΔE00 6.74
Darkgreen
#006400
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E781A #741A78
analogous
#4D781A #1E781A #1A7845
triadic
#1E781A #1A1E78 #781A1E
tetradic
#1E781A #1A4D78 #741A78 #78451A
square
#1E781A #1A4D78 #741A78 #78451A
split-complementary
#1E781A #451A78 #781A4D
monochromatic
#061905 #11460F #1E781A #2BAA25 #3FD438
Accessibility & contrast
On white
5.59
#1E781A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#1E781A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1E781A
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E781A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E781A | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6C06
Deuteranopia (green-blind)
#716524
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #1e781a; /* rgb */ color: rgb(30, 120, 26); /* oklch */ color: oklch(50.2% 0.152 142.4);
Tailwind
colors: {
custom: {
50: '#6aa05e',
500: '#1e781a',
950: '#000000',
},
}SCSS
$custom: #1e781a; $custom-light: #6aa05e; $custom-dark: #000000;
JSON
{
"hex": "#1e781a",
"rgb": {
"r": 30,
"g": 120,
"b": 26
},
"hsl": {
"h": 117.447,
"s": 64.384,
"l": 28.627
},
"oklch": {
"l": 0.50198,
"c": 0.1524,
"h": 142.4
},
"luminance": 0.13784
}Semantic roles & 50–950 ramp
primary
#1E781A
secondary
#A841AC
accent
#40E7E0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79