#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
RGBrgb(30, 114, 24)
HSLhsl(116, 65%, 27%)
HSVhsv(116, 79%, 45%)
CMYKcmyk(73.7%, 0%, 78.9%, 55.3%)
CIE-LABlab(41.81, -42.45, 39.95)
CIE-LCHlch(41.81, 58.29, 136.74°)
OKLaboklab(48.44% -0.1156 0.0899)
OKLCHoklch(48.44% 0.146 142.1)
XYZxyz(6.7172, 12.3759, 2.8988)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

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
##1E72181.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.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

Preview Lab

Preview with #1E7218

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#1E7218 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva