#1E420B#1E420B

#1E420B is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 33.9% C 0.092 H 137.1°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#1E420B
RGBrgb(30, 66, 11)
HSLhsl(99, 71%, 15%)
HSVhsv(99, 83%, 26%)
CMYKcmyk(54.5%, 0%, 83.3%, 74.1%)
CIE-LABlab(24.31, -24.19, 27.72)
CIE-LCHlch(24.31, 36.79, 131.10°)
OKLaboklab(33.95% -0.0671 0.0623)
OKLCHoklch(33.95% 0.092 137.1)
XYZxyz(2.5440, 4.1964, 0.9925)
Luminance0.0420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E420B #2F0B42
analogous
#39420B #1E420B #0B4214
triadic
#1E420B #0B1E42 #420B1E
tetradic
#1E420B #0B3942 #2F0B42 #42140B
square
#1E420B #0B3942 #2F0B42 #42140B
split-complementary
#1E420B #140B42 #420B39
monochromatic
#0C1A04 #0C1A04 #1E420B #367614 #4EAB1C

Accessibility & contrast

On white

11.42
#1E420B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1E420B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E420B
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E420B#FFFFFF#000000##FFFFFF
##1E420B1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C03
Deuteranopia (green-blind)
#403911
Tritanopia (blue-blind)
#1C3F37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e420b;
/* rgb */ color: rgb(30, 66, 11);
/* oklch */ color: oklch(33.9% 0.092 137.1);
Tailwind
colors: {
  custom: {
    50: '#5e774e',
    500: '#1e420b',
    950: '#000000',
  },
}
SCSS
$custom: #1e420b;
$custom-light: #5e774e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e420b",
  "rgb": {
    "r": 30,
    "g": 66,
    "b": 11
  },
  "hsl": {
    "h": 99.273,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33945,
    "c": 0.09157,
    "h": 137.1
  },
  "luminance": 0.04197
}

Semantic roles & 50–950 ramp

primary
#1E420B
secondary
#612A7F
accent
#3AEEB0
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #1E420B

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

Preview Lab → · Contrast checker → · Palette generator →

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