#1E7A17#1E7A17

#1E7A17 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.8% C 0.156 H 142.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#1E7A17
RGBrgb(30, 122, 23)
HSLhsl(116, 68%, 28%)
HSVhsv(116, 81%, 48%)
CMYKcmyk(75.4%, 0%, 81.1%, 52.2%)
CIE-LABlab(44.60, -45.33, 43.02)
CIE-LCHlch(44.60, 62.49, 136.49°)
OKLaboklab(50.76% -0.1234 0.0961)
OKLCHoklch(50.76% 0.156 142.1)
XYZxyz(7.6492, 14.2561, 3.1590)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7A17 #73177A
analogous
#4F7A17 #1E7A17 #177A41
triadic
#1E7A17 #171E7A #7A171E
tetradic
#1E7A17 #174F7A #73177A #7A4117
square
#1E7A17 #174F7A #73177A #7A4117
split-complementary
#1E7A17 #41177A #7A174F
monochromatic
#061A05 #11470D #1E7A17 #2BAD21 #3FD933

Accessibility & contrast

On white

5.45
#1E7A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#1E7A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7A17
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7A17#FFFFFF#000000##FFFFFF
##1E7A171.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1e7a17;
/* rgb */ color: rgb(30, 122, 23);
/* oklch */ color: oklch(50.8% 0.156 142.1);
Tailwind
colors: {
  custom: {
    50: '#6aa15d',
    500: '#1e7a17',
    950: '#000000',
  },
}
SCSS
$custom: #1e7a17;
$custom-light: #6aa15d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7a17",
  "rgb": {
    "r": 30,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 115.758,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50755,
    "c": 0.15642,
    "h": 142.1
  },
  "luminance": 0.14257
}

Semantic roles & 50–950 ramp

primary
#1E7A17
secondary
#A73EAF
accent
#3DEBDF
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #1E7A17

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

Preview Lab → · Contrast checker → · Palette generator →

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