#1E7017#1E7017

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

Color values

HEX#1E7017
RGBrgb(30, 112, 23)
HSLhsl(115, 66%, 26%)
HSVhsv(115, 79%, 44%)
CMYKcmyk(73.2%, 0%, 79.5%, 56.1%)
CIE-LABlab(41.10, -41.81, 39.62)
CIE-LCHlch(41.10, 57.60, 136.54°)
OKLaboklab(47.85% -0.1139 0.089)
OKLCHoklch(47.85% 0.145 142)
XYZxyz(6.4839, 11.9255, 2.7706)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7017 #691770
analogous
#4B7017 #1E7017 #17703D
triadic
#1E7017 #171E70 #70171E
tetradic
#1E7017 #174B70 #691770 #703D17
square
#1E7017 #174B70 #691770 #703D17
split-complementary
#1E7017 #3D1770 #70174B
monochromatic
#071905 #103D0D #1E7017 #2CA321 #3BD42D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1E7017#FFFFFF#000000##FFFFFF
##1E70171.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)
#736504
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#086C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1e7017;
/* rgb */ color: rgb(30, 112, 23);
/* oklch */ color: oklch(47.8% 0.145 142.0);
Tailwind
colors: {
  custom: {
    50: '#689a5b',
    500: '#1e7017',
    950: '#000000',
  },
}
SCSS
$custom: #1e7017;
$custom-light: #689a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7017",
  "rgb": {
    "r": 30,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 115.281,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47849,
    "c": 0.14456,
    "h": 142
  },
  "luminance": 0.11926
}

Semantic roles & 50–950 ramp

primary
#1E7017
secondary
#9E3DA6
accent
#3FE9DC
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1E7017

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

Preview Lab → · Contrast checker → · Palette generator →

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