#1E6817#1E6817

#1E6817 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.135 H 141.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#1E6817
RGBrgb(30, 104, 23)
HSLhsl(115, 64%, 25%)
HSVhsv(115, 78%, 41%)
CMYKcmyk(71.2%, 0%, 77.9%, 59.2%)
CIE-LABlab(38.27, -38.88, 36.80)
CIE-LCHlch(38.27, 53.53, 136.58°)
OKLaboklab(45.5% -0.106 0.0832)
OKLCHoklch(45.5% 0.135 141.9)
XYZxyz(5.6401, 10.2379, 2.4893)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E6817 #611768
analogous
#466817 #1E6817 #176839
triadic
#1E6817 #171E68 #68171E
tetradic
#1E6817 #174668 #611768 #683917
square
#1E6817 #174668 #611768 #683917
split-complementary
#1E6817 #391768 #681746
monochromatic
#071906 #10360C #1E6817 #2C9A22 #3BCC2D

Accessibility & contrast

On white

6.89
#1E6817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#1E6817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E6817
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E6817#FFFFFF#000000##FFFFFF
##1E68171.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E08
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#0D6558
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1e6817;
/* rgb */ color: rgb(30, 104, 23);
/* oklch */ color: oklch(45.5% 0.135 141.9);
Tailwind
colors: {
  custom: {
    50: '#66945a',
    500: '#1e6817',
    950: '#000000',
  },
}
SCSS
$custom: #1e6817;
$custom-light: #66945a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e6817",
  "rgb": {
    "r": 30,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 114.815,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45501,
    "c": 0.1347,
    "h": 141.9
  },
  "luminance": 0.10239
}

Semantic roles & 50–950 ramp

primary
#1E6817
secondary
#963D9E
accent
#41E7D8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1E6817

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

Preview Lab → · Contrast checker → · Palette generator →

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