#1E7018#1E7018

#1E7018 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.144 H 142.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#1E7018
RGBrgb(30, 112, 24)
HSLhsl(116, 65%, 27%)
HSVhsv(116, 79%, 44%)
CMYKcmyk(73.2%, 0%, 78.6%, 56.1%)
CIE-LABlab(41.10, -41.73, 39.25)
CIE-LCHlch(41.10, 57.29, 136.75°)
OKLaboklab(47.86% -0.1136 0.0884)
OKLCHoklch(47.86% 0.144 142.1)
XYZxyz(6.4941, 11.9296, 2.8244)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7018 #6A1870
analogous
#4A7018 #1E7018 #18703E
triadic
#1E7018 #181E70 #70181E
tetradic
#1E7018 #184A70 #6A1870 #703E18
square
#1E7018 #184A70 #6A1870 #703E18
split-complementary
#1E7018 #3E1870 #70184A
monochromatic
#071905 #113E0D #1E7018 #2CA223 #3BD330

Accessibility & contrast

On white

6.20
#1E7018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#1E7018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7018
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7018#FFFFFF#000000##FFFFFF
##1E70181.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#695E22
Tritanopia (blue-blind)
#076C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1e7018;
/* rgb */ color: rgb(30, 112, 24);
/* oklch */ color: oklch(47.9% 0.144 142.1);
Tailwind
colors: {
  custom: {
    50: '#689a5c',
    500: '#1e7018',
    950: '#000000',
  },
}
SCSS
$custom: #1e7018;
$custom-light: #689a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7018",
  "rgb": {
    "r": 30,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 115.909,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47857,
    "c": 0.14396,
    "h": 142.1
  },
  "luminance": 0.1193
}

Semantic roles & 50–950 ramp

primary
#1E7018
secondary
#9E3EA5
accent
#40E8DC
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1E7018

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

Preview Lab → · Contrast checker → · Palette generator →

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