#1E7318#1E7318
#1E7318 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.7% C 0.148 H 142.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #1E7318 |
|---|---|
| RGB | rgb(30, 115, 24) |
| HSL | hsl(116, 65%, 27%) |
| HSV | hsv(116, 79%, 45%) |
| CMYK | cmyk(73.9%, 0%, 79.1%, 54.9%) |
| CIE-LAB | lab(42.16, -42.80, 40.30) |
| CIE-LCH | lch(42.16, 58.79, 136.73°) |
| OKLab | oklab(48.73% -0.1165 0.0906) |
| OKLCH | oklch(48.73% 0.148 142.1) |
| XYZ | xyz(6.8306, 12.6027, 2.9366) |
| Luminance | 0.1260 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.06
Green
#008000
ΔE00 5.06
Darkish Green
#287C37
ΔE00 5.11
Darkgreen
#006400
ΔE00 5.21
Dark Grass Green
#388004
ΔE00 6.21
Jungle Green
#048243
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E7318 #6D1873
analogous
#4C7318 #1E7318 #187340
triadic
#1E7318 #181E73 #73181E
tetradic
#1E7318 #184C73 #6D1873 #734018
square
#1E7318 #184C73 #6D1873 #734018
split-complementary
#1E7318 #401873 #73184C
monochromatic
#071905 #11400D #1E7318 #2BA623 #3CD431
Accessibility & contrast
On white
5.96
#1E7318 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#1E7318 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1E7318
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E7318 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E7318 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766804
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#056F62
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #1e7318; /* rgb */ color: rgb(30, 115, 24); /* oklch */ color: oklch(48.7% 0.148 142.1);
Tailwind
colors: {
custom: {
50: '#699c5c',
500: '#1e7318',
950: '#000000',
},
}SCSS
$custom: #1e7318; $custom-light: #699c5c; $custom-dark: #000000;
JSON
{
"hex": "#1e7318",
"rgb": {
"r": 30,
"g": 115,
"b": 24
},
"hsl": {
"h": 116.044,
"s": 65.468,
"l": 27.255
},
"oklch": {
"l": 0.48732,
"c": 0.14759,
"h": 142.1
},
"luminance": 0.12603
}Semantic roles & 50–950 ramp
primary
#1E7318
secondary
#A13FA8
accent
#3FE8DD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79