#1E4812#1E4812

#1E4812 is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.9% C 0.095 H 139.5°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#1E4812
RGBrgb(30, 72, 18)
HSLhsl(107, 60%, 18%)
HSVhsv(107, 75%, 28%)
CMYKcmyk(58.3%, 0%, 75%, 71.8%)
CIE-LABlab(26.60, -26.30, 26.91)
CIE-LCHlch(26.60, 37.63, 134.34°)
OKLaboklab(35.85% -0.0722 0.0617)
OKLCHoklch(35.85% 0.095 139.5)
XYZxyz(2.9618, 4.9542, 1.3723)
Luminance0.0495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4812 #3C1248
analogous
#394812 #1E4812 #124821
triadic
#1E4812 #121E48 #48121E
tetradic
#1E4812 #123948 #3C1248 #482112
square
#1E4812 #123948 #3C1248 #482112
split-complementary
#1E4812 #211248 #481239
monochromatic
#0A1806 #0A1806 #1E4812 #32791E #47AA2A

Accessibility & contrast

On white

10.55
#1E4812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1E4812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4812
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4812#FFFFFF#000000##FFFFFF
##1E48121.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410B
Deuteranopia (green-blind)
#453E17
Tritanopia (blue-blind)
#1A453D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1e4812;
/* rgb */ color: rgb(30, 72, 18);
/* oklch */ color: oklch(35.9% 0.095 139.5);
Tailwind
colors: {
  custom: {
    50: '#5f7b53',
    500: '#1e4812',
    950: '#000000',
  },
}
SCSS
$custom: #1e4812;
$custom-light: #5f7b53;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4812",
  "rgb": {
    "r": 30,
    "g": 72,
    "b": 18
  },
  "hsl": {
    "h": 106.667,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.3585,
    "c": 0.09502,
    "h": 139.5
  },
  "luminance": 0.04954
}

Semantic roles & 50–950 ramp

primary
#1E4812
secondary
#703581
accent
#45E3C0
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1E4812

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

Preview Lab → · Contrast checker → · Palette generator →

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