#1E400F#1E400F

#1E400F is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.4% C 0.086 H 137.7°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#1E400F
RGBrgb(30, 64, 15)
HSLhsl(102, 62%, 15%)
HSVhsv(102, 77%, 25%)
CMYKcmyk(53.1%, 0%, 76.6%, 74.9%)
CIE-LABlab(23.60, -22.87, 25.16)
CIE-LCHlch(23.60, 34.00, 132.27°)
OKLaboklab(33.37% -0.0632 0.0576)
OKLCHoklch(33.37% 0.086 137.7)
XYZxyz(2.4550, 3.9771, 1.0901)
Luminance0.0398 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E400F #310F40
analogous
#36400F #1E400F #0F4019
triadic
#1E400F #0F1E40 #400F1E
tetradic
#1E400F #0F3640 #310F40 #40190F
square
#1E400F #0F3640 #310F40 #40190F
split-complementary
#1E400F #190F40 #400F36
monochromatic
#0C1906 #0C1906 #1E400F #35721B #4CA326

Accessibility & contrast

On white

11.70
#1E400F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1E400F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E400F
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E400F#FFFFFF#000000##FFFFFF
##1E400F1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A08
Deuteranopia (green-blind)
#3E3713
Tritanopia (blue-blind)
#1C3D36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e400f;
/* rgb */ color: rgb(30, 64, 15);
/* oklch */ color: oklch(33.4% 0.086 137.7);
Tailwind
colors: {
  custom: {
    50: '#5e7550',
    500: '#1e400f',
    950: '#000000',
  },
}
SCSS
$custom: #1e400f;
$custom-light: #5e7550;
$custom-dark: #000000;
JSON
{
  "hex": "#1e400f",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 15
  },
  "hsl": {
    "h": 101.633,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33368,
    "c": 0.08552,
    "h": 137.7
  },
  "luminance": 0.03977
}

Semantic roles & 50–950 ramp

primary
#1E400F
secondary
#64307A
accent
#43E5B3
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #1E400F

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

Preview Lab → · Contrast checker → · Palette generator →

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