#1E400B#1E400B

#1E400B is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.3% C 0.089 H 136.7°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#1E400B
RGBrgb(30, 64, 11)
HSLhsl(98, 71%, 15%)
HSVhsv(98, 83%, 25%)
CMYKcmyk(53.1%, 0%, 82.8%, 74.9%)
CIE-LABlab(23.56, -23.24, 26.97)
CIE-LCHlch(23.56, 35.61, 130.75°)
OKLaboklab(33.33% -0.0645 0.0608)
OKLCHoklch(33.33% 0.089 136.7)
XYZxyz(2.4292, 3.9668, 0.9542)
Luminance0.0397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E400B #2D0B40
analogous
#39400B #1E400B #0B4013
triadic
#1E400B #0B1E40 #400B1E
tetradic
#1E400B #0B3940 #2D0B40 #40130B
square
#1E400B #0B3940 #2D0B40 #40130B
split-complementary
#1E400B #130B40 #400B39
monochromatic
#0C1A04 #0C1A04 #1E400B #367414 #4FA81D

Accessibility & contrast

On white

11.71
#1E400B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1E400B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E400B
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E400B#FFFFFF#000000##FFFFFF
##1E400B1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e400b;
/* rgb */ color: rgb(30, 64, 11);
/* oklch */ color: oklch(33.3% 0.089 136.7);
Tailwind
colors: {
  custom: {
    50: '#5e754e',
    500: '#1e400b',
    950: '#000000',
  },
}
SCSS
$custom: #1e400b;
$custom-light: #5e754e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e400b",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 11
  },
  "hsl": {
    "h": 98.491,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.33329,
    "c": 0.08864,
    "h": 136.7
  },
  "luminance": 0.03967
}

Semantic roles & 50–950 ramp

primary
#1E400B
secondary
#5F2A7D
accent
#3AEDAD
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #1E400B

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

Preview Lab → · Contrast checker → · Palette generator →

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