#1E401B#1E401B

#1E401B is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.5% C 0.074 H 142.2°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#1E401B
RGBrgb(30, 64, 27)
HSLhsl(115, 41%, 18%)
HSVhsv(115, 58%, 25%)
CMYKcmyk(53.1%, 0%, 57.8%, 74.9%)
CIE-LABlab(23.74, -21.30, 18.76)
CIE-LCHlch(23.74, 28.38, 138.64°)
OKLaboklab(33.54% -0.0581 0.0451)
OKLCHoklch(33.54% 0.074 142.2)
XYZxyz(2.5665, 4.0218, 1.6777)
Luminance0.0402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E401B #3D1B40
analogous
#30401B #1E401B #1B402A
triadic
#1E401B #1B1E40 #401B1E
tetradic
#1E401B #1B3040 #3D1B40 #402A1B
square
#1E401B #1B3040 #3D1B40 #402A1B
split-complementary
#1E401B #2A1B40 #401B30
monochromatic
#0A1609 #0A1609 #1E401B #326B2D #46963F

Accessibility & contrast

On white

11.64
#1E401B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E401B
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E401B#FFFFFF#000000##FFFFFF
##1E401B1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A18
Deuteranopia (green-blind)
#3D371E
Tritanopia (blue-blind)
#1A3E37
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e401b;
/* rgb */ color: rgb(30, 64, 27);
/* oklch */ color: oklch(33.5% 0.074 142.2);
Tailwind
colors: {
  custom: {
    50: '#5d7558',
    500: '#1e401b',
    950: '#000000',
  },
}
SCSS
$custom: #1e401b;
$custom-light: #5d7558;
$custom-dark: #000000;
JSON
{
  "hex": "#1e401b",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 115.135,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.33537,
    "c": 0.07356,
    "h": 142.2
  },
  "luminance": 0.04022
}

Semantic roles & 50–950 ramp

primary
#1E401B
secondary
#714175
accent
#57D1C7
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040803
muted
#797B78

Preview Lab

Preview with #1E401B

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

Preview Lab → · Contrast checker → · Palette generator →

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