#1E7F17#1E7F17

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

Color values

HEX#1E7F17
RGBrgb(30, 127, 23)
HSLhsl(116, 69%, 29%)
HSVhsv(116, 82%, 50%)
CMYKcmyk(76.4%, 0%, 81.9%, 50.2%)
CIE-LABlab(46.33, -47.03, 44.68)
CIE-LCHlch(46.33, 64.87, 136.47°)
OKLaboklab(52.2% -0.128 0.0996)
OKLCHoklch(52.2% 0.162 142.1)
XYZxyz(8.2790, 15.5157, 3.3690)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7F17 #78177F
analogous
#527F17 #1E7F17 #177F44
triadic
#1E7F17 #171E7F #7F171E
tetradic
#1E7F17 #17527F #78177F #7F4417
square
#1E7F17 #17527F #78177F #7F4417
split-complementary
#1E7F17 #44177F #7F1752
monochromatic
#061A05 #124B0E #1E7F17 #2AB320 #41DB36

Accessibility & contrast

On white

5.12
#1E7F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#1E7F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7F17
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7F17#FFFFFF#000000##FFFFFF
##1E7F171.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1e7f17;
/* rgb */ color: rgb(30, 127, 23);
/* oklch */ color: oklch(52.2% 0.162 142.1);
Tailwind
colors: {
  custom: {
    50: '#6ca55d',
    500: '#1e7f17',
    950: '#000000',
  },
}
SCSS
$custom: #1e7f17;
$custom-light: #6ca55d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7f17",
  "rgb": {
    "r": 30,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 115.962,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52197,
    "c": 0.1622,
    "h": 142.1
  },
  "luminance": 0.15517
}

Semantic roles & 50–950 ramp

primary
#1E7F17
secondary
#AC3EB4
accent
#3CECE0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #1E7F17

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

Preview Lab → · Contrast checker → · Palette generator →

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