#1E7917#1E7917

#1E7917 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.5% C 0.155 H 142.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#1E7917
RGBrgb(30, 121, 23)
HSLhsl(116, 68%, 28%)
HSVhsv(116, 81%, 47%)
CMYKcmyk(75.2%, 0%, 81%, 52.5%)
CIE-LABlab(44.25, -44.98, 42.69)
CIE-LCHlch(44.25, 62.01, 136.50°)
OKLaboklab(50.47% -0.1225 0.0954)
OKLCHoklch(50.47% 0.155 142.1)
XYZxyz(7.5270, 14.0118, 3.1183)
Luminance0.1401 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7917 #721779
analogous
#4F7917 #1E7917 #177941
triadic
#1E7917 #171E79 #79171E
tetradic
#1E7917 #174F79 #721779 #794117
square
#1E7917 #174F79 #721779 #794117
split-complementary
#1E7917 #411779 #79174F
monochromatic
#061A05 #11460D #1E7917 #2BAC21 #3ED832

Accessibility & contrast

On white

5.52
#1E7917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#1E7917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7917
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7917#FFFFFF#000000##FFFFFF
##1E79171.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1e7917;
/* rgb */ color: rgb(30, 121, 23);
/* oklch */ color: oklch(50.5% 0.155 142.1);
Tailwind
colors: {
  custom: {
    50: '#6aa15d',
    500: '#1e7917',
    950: '#000000',
  },
}
SCSS
$custom: #1e7917;
$custom-light: #6aa15d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7917",
  "rgb": {
    "r": 30,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 115.714,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50466,
    "c": 0.15525,
    "h": 142.1
  },
  "luminance": 0.14013
}

Semantic roles & 50–950 ramp

primary
#1E7917
secondary
#A63EAE
accent
#3DEBDE
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #1E7917

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

Preview Lab → · Contrast checker → · Palette generator →

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