#1E4E12#1E4E12

#1E4E12 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.7% C 0.104 H 140.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#1E4E12
RGBrgb(30, 78, 18)
HSLhsl(108, 63%, 19%)
HSVhsv(108, 77%, 31%)
CMYKcmyk(61.5%, 0%, 76.9%, 69.4%)
CIE-LABlab(28.82, -28.95, 29.25)
CIE-LCHlch(28.82, 41.15, 134.71°)
OKLaboklab(37.68% -0.0794 0.0666)
OKLCHoklch(37.68% 0.104 140)
XYZxyz(3.3688, 5.7682, 1.5080)
Luminance0.0577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4E12 #42124E
analogous
#3C4E12 #1E4E12 #124E24
triadic
#1E4E12 #121E4E #4E121E
tetradic
#1E4E12 #123C4E #42124E #4E2412
square
#1E4E12 #123C4E #42124E #4E2412
split-complementary
#1E4E12 #24124E #4E123C
monochromatic
#0A1906 #0B1C07 #1E4E12 #31801D #44B129

Accessibility & contrast

On white

9.75
#1E4E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1E4E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4E12
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4E12#FFFFFF#000000##FFFFFF
##1E4E121.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504609
Deuteranopia (green-blind)
#4A4218
Tritanopia (blue-blind)
#184B42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1e4e12;
/* rgb */ color: rgb(30, 78, 18);
/* oklch */ color: oklch(37.7% 0.104 140.0);
Tailwind
colors: {
  custom: {
    50: '#608054',
    500: '#1e4e12',
    950: '#000000',
  },
}
SCSS
$custom: #1e4e12;
$custom-light: #608054;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4e12",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 108,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37676,
    "c": 0.10367,
    "h": 140
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

primary
#1E4E12
secondary
#773587
accent
#42E6C5
background
#F5F7F4
surface
#EAEEE8
border
#C6C9C4
text
#050A03
muted
#797C78

Preview Lab

Preview with #1E4E12

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

Preview Lab → · Contrast checker → · Palette generator →

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