#1E7817#1E7817

#1E7817 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.2% C 0.154 H 142.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#1E7817
RGBrgb(30, 120, 23)
HSLhsl(116, 68%, 28%)
HSVhsv(116, 81%, 47%)
CMYKcmyk(75%, 0%, 80.8%, 52.9%)
CIE-LABlab(43.90, -44.63, 42.35)
CIE-LCHlch(43.90, 61.53, 136.50°)
OKLaboklab(50.18% -0.1215 0.0947)
OKLCHoklch(50.18% 0.154 142.1)
XYZxyz(7.4061, 13.7700, 3.0780)
Luminance0.1377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7817 #711778
analogous
#4E7817 #1E7817 #177840
triadic
#1E7817 #171E78 #78171E
tetradic
#1E7817 #174E78 #711778 #784017
square
#1E7817 #174E78 #711778 #784017
split-complementary
#1E7817 #401778 #78174E
monochromatic
#061A05 #11450D #1E7817 #2BAB21 #3ED832

Accessibility & contrast

On white

5.59
#1E7817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#1E7817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7817
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7817#FFFFFF#000000##FFFFFF
##1E78171.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#017466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1e7817;
/* rgb */ color: rgb(30, 120, 23);
/* oklch */ color: oklch(50.2% 0.154 142.1);
Tailwind
colors: {
  custom: {
    50: '#6aa05c',
    500: '#1e7817',
    950: '#000000',
  },
}
SCSS
$custom: #1e7817;
$custom-light: #6aa05c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7817",
  "rgb": {
    "r": 30,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 115.67,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50177,
    "c": 0.15409,
    "h": 142.1
  },
  "luminance": 0.13771
}

Semantic roles & 50–950 ramp

primary
#1E7817
secondary
#A53EAD
accent
#3DEBDE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #1E7817

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

Preview Lab → · Contrast checker → · Palette generator →

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