#1E7218#1E7218
#1E7218 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.4% C 0.146 H 142.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #1E7218 |
|---|---|
| RGB | rgb(30, 114, 24) |
| HSL | hsl(116, 65%, 27%) |
| HSV | hsv(116, 79%, 45%) |
| CMYK | cmyk(73.7%, 0%, 78.9%, 55.3%) |
| CIE-LAB | lab(41.81, -42.45, 39.95) |
| CIE-LCH | lch(41.81, 58.29, 136.74°) |
| OKLab | oklab(48.44% -0.1156 0.0899) |
| OKLCH | oklch(48.44% 0.146 142.1) |
| XYZ | xyz(6.7172, 12.3759, 2.8988) |
| Luminance | 0.1238 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.40
Darkgreen
#006400
ΔE00 4.90
Darkish Green
#287C37
ΔE00 5.26
Green
#008000
ΔE00 5.39
Dark Grass Green
#388004
ΔE00 6.50
Jungle Green
#048243
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E7218 #6C1872
analogous
#4B7218 #1E7218 #18723F
triadic
#1E7218 #181E72 #72181E
tetradic
#1E7218 #184B72 #6C1872 #723F18
square
#1E7218 #184B72 #6C1872 #723F18
split-complementary
#1E7218 #3F1872 #72184B
monochromatic
#071905 #113F0D #1E7218 #2BA523 #3CD431
Accessibility & contrast
On white
6.04
#1E7218 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#1E7218 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1E7218
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E7218 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E7218 | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756705
Deuteranopia (green-blind)
#6B6022
Tritanopia (blue-blind)
#066E61
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #1e7218; /* rgb */ color: rgb(30, 114, 24); /* oklch */ color: oklch(48.4% 0.146 142.1);
Tailwind
colors: {
custom: {
50: '#689b5c',
500: '#1e7218',
950: '#000000',
},
}SCSS
$custom: #1e7218; $custom-light: #689b5c; $custom-dark: #000000;
JSON
{
"hex": "#1e7218",
"rgb": {
"r": 30,
"g": 114,
"b": 24
},
"hsl": {
"h": 116,
"s": 65.217,
"l": 27.059
},
"oklch": {
"l": 0.4844,
"c": 0.14639,
"h": 142.1
},
"luminance": 0.12377
}Semantic roles & 50–950 ramp
primary
#1E7218
secondary
#A03EA7
accent
#40E8DD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79