#1E7C17#1E7C17

#1E7C17 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.3% C 0.159 H 142.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#1E7C17
RGBrgb(30, 124, 23)
HSLhsl(116, 69%, 29%)
HSVhsv(116, 81%, 49%)
CMYKcmyk(75.8%, 0%, 81.5%, 51.4%)
CIE-LABlab(45.29, -46.01, 43.69)
CIE-LCHlch(45.29, 63.45, 136.48°)
OKLaboklab(51.33% -0.1253 0.0975)
OKLCHoklch(51.33% 0.159 142.1)
XYZxyz(7.8973, 14.7523, 3.2417)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7C17 #75177C
analogous
#517C17 #1E7C17 #177C43
triadic
#1E7C17 #171E7C #7C171E
tetradic
#1E7C17 #17517C #75177C #7C4317
square
#1E7C17 #17517C #75177C #7C4317
split-complementary
#1E7C17 #43177C #7C1751
monochromatic
#061A05 #12480D #1E7C17 #2AB021 #40D934

Accessibility & contrast

On white

5.32
#1E7C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#1E7C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7C17
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7C17#FFFFFF#000000##FFFFFF
##1E7C171.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#756823
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1e7c17;
/* rgb */ color: rgb(30, 124, 23);
/* oklch */ color: oklch(51.3% 0.159 142.1);
Tailwind
colors: {
  custom: {
    50: '#6ba35d',
    500: '#1e7c17',
    950: '#000000',
  },
}
SCSS
$custom: #1e7c17;
$custom-light: #6ba35d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7c17",
  "rgb": {
    "r": 30,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 115.842,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51333,
    "c": 0.15875,
    "h": 142.1
  },
  "luminance": 0.14753
}

Semantic roles & 50–950 ramp

primary
#1E7C17
secondary
#A93EB1
accent
#3CECDF
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1E7C17

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

Preview Lab → · Contrast checker → · Palette generator →

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