#1E7217#1E7217

#1E7217 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.4% C 0.147 H 142.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#1E7217
RGBrgb(30, 114, 23)
HSLhsl(115, 66%, 27%)
HSVhsv(115, 80%, 45%)
CMYKcmyk(73.7%, 0%, 79.8%, 55.3%)
CIE-LABlab(41.80, -42.53, 40.31)
CIE-LCHlch(41.80, 58.59, 136.53°)
OKLaboklab(48.43% -0.1158 0.0905)
OKLCHoklch(48.43% 0.147 142)
XYZxyz(6.7070, 12.3718, 2.8450)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7217 #6B1772
analogous
#4C7217 #1E7217 #17723E
triadic
#1E7217 #171E72 #72171E
tetradic
#1E7217 #174C72 #6B1772 #723E17
square
#1E7217 #174C72 #6B1772 #723E17
split-complementary
#1E7217 #3E1772 #72174C
monochromatic
#071905 #113F0D #1E7217 #2BA521 #3BD52E

Accessibility & contrast

On white

6.04
#1E7217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#1E7217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7217
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7217#FFFFFF#000000##FFFFFF
##1E72171.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756703
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#066E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1e7217;
/* rgb */ color: rgb(30, 114, 23);
/* oklch */ color: oklch(48.4% 0.147 142.0);
Tailwind
colors: {
  custom: {
    50: '#689b5b',
    500: '#1e7217',
    950: '#000000',
  },
}
SCSS
$custom: #1e7217;
$custom-light: #689b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7217",
  "rgb": {
    "r": 30,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 115.385,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48433,
    "c": 0.14697,
    "h": 142
  },
  "luminance": 0.12373
}

Semantic roles & 50–950 ramp

primary
#1E7217
secondary
#9F3DA8
accent
#3EE9DC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1E7217

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

Preview Lab → · Contrast checker → · Palette generator →

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