#1E402A#1E402A

#1E402A is a dark, muted green. Relative luminance 0.041; OKLCH L 33.9% C 0.056 H 153.8°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#1E402A
RGBrgb(30, 64, 42)
HSLhsl(141, 36%, 18%)
HSVhsv(141, 53%, 25%)
CMYKcmyk(53.1%, 0%, 34.4%, 74.9%)
CIE-LABlab(24.03, -18.37, 9.73)
CIE-LCHlch(24.03, 20.79, 152.10°)
OKLaboklab(33.87% -0.0502 0.0246)
OKLCHoklch(33.87% 0.056 153.8)
XYZxyz(2.7865, 4.1098, 2.8365)
Luminance0.0411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E402A #401E34
analogous
#23401E #1E402A #1E403B
triadic
#1E402A #2A1E40 #402A1E
tetradic
#1E402A #1E2340 #401E34 #403B1E
square
#1E402A #1E2340 #401E34 #403B1E
split-complementary
#1E402A #3B1E40 #401E23
monochromatic
#0A150E #0A160F #1E402A #326A45 #459361

Accessibility & contrast

On white

11.53
#1E402A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1E402A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E402A
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E402A#FFFFFF#000000##FFFFFF
##1E402A1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B29
Deuteranopia (green-blind)
#3B382B
Tritanopia (blue-blind)
#163F3A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e402a;
/* rgb */ color: rgb(30, 64, 42);
/* oklch */ color: oklch(33.9% 0.056 153.8);
Tailwind
colors: {
  custom: {
    50: '#5c7563',
    500: '#1e402a',
    950: '#000000',
  },
}
SCSS
$custom: #1e402a;
$custom-light: #5c7563;
$custom-dark: #000000;
JSON
{
  "hex": "#1e402a",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 141.176,
    "s": 36.17,
    "l": 18.431
  },
  "oklch": {
    "l": 0.33866,
    "c": 0.0559,
    "h": 153.8
  },
  "luminance": 0.0411
}

Semantic roles & 50–950 ramp

primary
#1E402A
secondary
#744564
accent
#5CA4CC
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#040805
muted
#797B79

Preview Lab

Preview with #1E402A

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

Preview Lab → · Contrast checker → · Palette generator →

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