#1E7212#1E7212
#1E7212 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.4% C 0.150 H 141.5°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #1E7212 |
|---|---|
| RGB | rgb(30, 114, 18) |
| HSL | hsl(113, 73%, 26%) |
| HSV | hsv(113, 84%, 45%) |
| CMYK | cmyk(73.7%, 0%, 84.2%, 55.3%) |
| CIE-LAB | lab(41.77, -42.87, 41.97) |
| CIE-LCH | lch(41.77, 60.00, 135.61°) |
| OKLab | oklab(48.4% -0.117 0.0932) |
| OKLCH | oklch(48.4% 0.15 141.5) |
| XYZ | xyz(6.6615, 12.3536, 2.6056) |
| Luminance | 0.1235 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.27
Darkgreen
#006400
ΔE00 4.84
Green
#008000
ΔE00 5.12
Darkish Green
#287C37
ΔE00 5.80
Dark Grass Green
#388004
ΔE00 6.14
Deep Green
#02590F
ΔE00 8.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E7212 #661272
analogous
#4E7212 #1E7212 #127236
triadic
#1E7212 #121E72 #72121E
tetradic
#1E7212 #124E72 #661272 #723612
square
#1E7212 #124E72 #661272 #723612
split-complementary
#1E7212 #361272 #72124E
monochromatic
#071A04 #103D0A #1E7212 #2CA71A #3ADC23
Accessibility & contrast
On white
6.05
#1E7212 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#1E7212 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1E7212
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E7212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E7212 | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#6B601E
Tritanopia (blue-blind)
#086E60
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #1e7212; /* rgb */ color: rgb(30, 114, 18); /* oklch */ color: oklch(48.4% 0.150 141.5);
Tailwind
colors: {
custom: {
50: '#699b59',
500: '#1e7212',
950: '#000000',
},
}SCSS
$custom: #1e7212; $custom-light: #699b59; $custom-dark: #000000;
JSON
{
"hex": "#1e7212",
"rgb": {
"r": 30,
"g": 114,
"b": 18
},
"hsl": {
"h": 112.5,
"s": 72.727,
"l": 25.882
},
"oklch": {
"l": 0.48401,
"c": 0.14958,
"h": 141.5
},
"luminance": 0.12354
}Semantic roles & 50–950 ramp
primary
#1E7212
secondary
#9B37A9
accent
#38EFD9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79