#1E7D17#1E7D17

#1E7D17 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.160 H 142.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#1E7D17
RGBrgb(30, 125, 23)
HSLhsl(116, 69%, 29%)
HSVhsv(116, 82%, 49%)
CMYKcmyk(76%, 0%, 81.6%, 51%)
CIE-LABlab(45.64, -46.36, 44.02)
CIE-LCHlch(45.64, 63.93, 136.48°)
OKLaboklab(51.62% -0.1262 0.0982)
OKLCHoklch(51.62% 0.16 142.1)
XYZxyz(8.0232, 15.0042, 3.2837)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7D17 #76177D
analogous
#517D17 #1E7D17 #177D43
triadic
#1E7D17 #171E7D #7D171E
tetradic
#1E7D17 #17517D #76177D #7D4317
square
#1E7D17 #17517D #76177D #7D4317
split-complementary
#1E7D17 #43177D #7D1751
monochromatic
#061A05 #12490D #1E7D17 #2AB121 #40DA35

Accessibility & contrast

On white

5.25
#1E7D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#1E7D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7D17
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7D17#FFFFFF#000000##FFFFFF
##1E7D171.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1e7d17;
/* rgb */ color: rgb(30, 125, 23);
/* oklch */ color: oklch(51.6% 0.160 142.1);
Tailwind
colors: {
  custom: {
    50: '#6ba45d',
    500: '#1e7d17',
    950: '#000000',
  },
}
SCSS
$custom: #1e7d17;
$custom-light: #6ba45d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7d17",
  "rgb": {
    "r": 30,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 115.882,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51621,
    "c": 0.1599,
    "h": 142.1
  },
  "luminance": 0.15005
}

Semantic roles & 50–950 ramp

primary
#1E7D17
secondary
#AA3EB2
accent
#3CECE0
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1E7D17

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

Preview Lab → · Contrast checker → · Palette generator →

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