#1E7517#1E7517

#1E7517 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.3% C 0.151 H 142.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#1E7517
RGBrgb(30, 117, 23)
HSLhsl(116, 67%, 27%)
HSVhsv(116, 80%, 46%)
CMYKcmyk(74.4%, 0%, 80.3%, 54.1%)
CIE-LABlab(42.85, -43.59, 41.34)
CIE-LCHlch(42.85, 60.07, 136.52°)
OKLaboklab(49.31% -0.1187 0.0926)
OKLCHoklch(49.31% 0.151 142)
XYZxyz(7.0510, 13.0597, 2.9596)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7517 #6E1775
analogous
#4D7517 #1E7517 #17753F
triadic
#1E7517 #171E75 #75171E
tetradic
#1E7517 #174D75 #6E1775 #753F17
square
#1E7517 #174D75 #6E1775 #753F17
split-complementary
#1E7517 #3F1775 #75174D
monochromatic
#071A05 #11420D #1E7517 #2BA821 #3CD630

Accessibility & contrast

On white

5.81
#1E7517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#1E7517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7517
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7517#FFFFFF#000000##FFFFFF
##1E75171.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786901
Deuteranopia (green-blind)
#6E6322
Tritanopia (blue-blind)
#047163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1e7517;
/* rgb */ color: rgb(30, 117, 23);
/* oklch */ color: oklch(49.3% 0.151 142.0);
Tailwind
colors: {
  custom: {
    50: '#699e5c',
    500: '#1e7517',
    950: '#000000',
  },
}
SCSS
$custom: #1e7517;
$custom-light: #699e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7517",
  "rgb": {
    "r": 30,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 115.532,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49306,
    "c": 0.15055,
    "h": 142
  },
  "luminance": 0.1306
}

Semantic roles & 50–950 ramp

primary
#1E7517
secondary
#A23DAA
accent
#3EEADD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1E7517

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

Preview Lab → · Contrast checker → · Palette generator →

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