#1E7F19#1E7F19
#1E7F19 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.161 H 142.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1E7F19 |
|---|---|
| RGB | rgb(30, 127, 25) |
| HSL | hsl(117, 67%, 30%) |
| HSV | hsv(117, 80%, 50%) |
| CMYK | cmyk(76.4%, 0%, 80.3%, 50.2%) |
| CIE-LAB | lab(46.34, -46.90, 44.03) |
| CIE-LCH | lch(46.34, 64.33, 136.81°) |
| OKLab | oklab(52.21% -0.1275 0.0985) |
| OKLCH | oklch(52.21% 0.161 142.3) |
| XYZ | xyz(8.2998, 15.5240, 3.4785) |
| Luminance | 0.1552 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.01
Green
#008000
ΔE00 1.90
Dark Grass Green
#388004
ΔE00 3.62
Forestgreen (CSS)
#228B22
ΔE00 4.30
Darkish Green
#287C37
ΔE00 4.88
Emerald Green
#028F1E
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E7F19 #7A197F
analogous
#517F19 #1E7F19 #197F47
triadic
#1E7F19 #191E7F #7F191E
tetradic
#1E7F19 #19517F #7A197F #7F4719
square
#1E7F19 #19517F #7A197F #7F4719
split-complementary
#1E7F19 #47197F #7F1951
monochromatic
#061A05 #124C0F #1E7F19 #2AB223 #42D83A
Accessibility & contrast
On white
5.12
#1E7F19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#1E7F19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1E7F19
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E7F19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E7F19 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #1e7f19; /* rgb */ color: rgb(30, 127, 25); /* oklch */ color: oklch(52.2% 0.161 142.3);
Tailwind
colors: {
custom: {
50: '#6ba55e',
500: '#1e7f19',
950: '#000000',
},
}SCSS
$custom: #1e7f19; $custom-light: #6ba55e; $custom-dark: #000000;
JSON
{
"hex": "#1e7f19",
"rgb": {
"r": 30,
"g": 127,
"b": 25
},
"hsl": {
"h": 117.059,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.52209,
"c": 0.16117,
"h": 142.3
},
"luminance": 0.15525
}Semantic roles & 50–950 ramp
primary
#1E7F19
secondary
#AE41B3
accent
#3EEAE2
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79