#1E4E2A#1E4E2A

#1E4E2A is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.0% C 0.080 H 149.3°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#1E4E2A
RGBrgb(30, 78, 42)
HSLhsl(135, 44%, 21%)
HSVhsv(135, 62%, 31%)
CMYKcmyk(61.5%, 0%, 46.2%, 69.4%)
CIE-LABlab(29.14, -25.45, 16.53)
CIE-LCHlch(29.14, 30.35, 146.98°)
OKLaboklab(38.04% -0.0689 0.0409)
OKLCHoklch(38.04% 0.08 149.3)
XYZxyz(3.6775, 5.8916, 3.1334)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4E2A #4E1E42
analogous
#2A4E1E #1E4E2A #1E4E42
triadic
#1E4E2A #2A1E4E #4E2A1E
tetradic
#1E4E2A #1E2A4E #4E1E42 #4E421E
square
#1E4E2A #1E2A4E #4E1E42 #4E421E
split-complementary
#1E4E2A #421E4E #4E1E2A
monochromatic
#09160C #0D2212 #1E4E2A #2F7A42 #40A65A

Accessibility & contrast

On white

9.64
#1E4E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1E4E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4E2A
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4E2A#FFFFFF#000000##FFFFFF
##1E4E2A1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4727
Deuteranopia (green-blind)
#48432C
Tritanopia (blue-blind)
#134D45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1e4e2a;
/* rgb */ color: rgb(30, 78, 42);
/* oklch */ color: oklch(38.0% 0.080 149.3);
Tailwind
colors: {
  custom: {
    50: '#5f8064',
    500: '#1e4e2a',
    950: '#000000',
  },
}
SCSS
$custom: #1e4e2a;
$custom-light: #5f8064;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4e2a",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 42
  },
  "hsl": {
    "h": 135,
    "s": 44.444,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3804,
    "c": 0.0801,
    "h": 149.3
  },
  "luminance": 0.05892
}

Semantic roles & 50–950 ramp

primary
#1E4E2A
secondary
#834573
accent
#54B4D4
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#050A05
muted
#797C79

Preview Lab

Preview with #1E4E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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