#1E5017#1E5017

#1E5017 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.3% C 0.103 H 141.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#1E5017
RGBrgb(30, 80, 23)
HSLhsl(113, 55%, 20%)
HSVhsv(113, 71%, 31%)
CMYKcmyk(62.5%, 0%, 71.2%, 68.6%)
CIE-LABlab(29.60, -29.29, 27.72)
CIE-LCHlch(29.60, 40.32, 136.58°)
OKLaboklab(38.34% -0.08 0.0641)
OKLCHoklch(38.34% 0.103 141.3)
XYZxyz(3.5586, 6.0749, 1.7955)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E5017 #491750
analogous
#3A5017 #1E5017 #17502D
triadic
#1E5017 #171E50 #50171E
tetradic
#1E5017 #173A50 #491750 #502D17
square
#1E5017 #173A50 #491750 #502D17
split-complementary
#1E5017 #2D1750 #50173A
monochromatic
#091807 #0C2009 #1E5017 #308025 #42AF32

Accessibility & contrast

On white

9.48
#1E5017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1E5017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E5017
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E5017#FFFFFF#000000##FFFFFF
##1E50171.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524810
Deuteranopia (green-blind)
#4C441C
Tritanopia (blue-blind)
#174D44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1e5017;
/* rgb */ color: rgb(30, 80, 23);
/* oklch */ color: oklch(38.3% 0.103 141.3);
Tailwind
colors: {
  custom: {
    50: '#608257',
    500: '#1e5017',
    950: '#000000',
  },
}
SCSS
$custom: #1e5017;
$custom-light: #608257;
$custom-dark: #000000;
JSON
{
  "hex": "#1e5017",
  "rgb": {
    "r": 30,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 112.632,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38335,
    "c": 0.10251,
    "h": 141.3
  },
  "luminance": 0.06075
}

Semantic roles & 50–950 ramp

primary
#1E5017
secondary
#7E3C87
accent
#49DFCC
background
#F5F7F5
surface
#EAEEE9
border
#C6C9C5
text
#050A03
muted
#797C78

Preview Lab

Preview with #1E5017

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

Preview Lab → · Contrast checker → · Palette generator →

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