#1E4208#1E4208

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

Color values

HEX#1E4208
RGBrgb(30, 66, 8)
HSLhsl(97, 78%, 15%)
HSVhsv(97, 88%, 26%)
CMYKcmyk(54.5%, 0%, 87.9%, 74.1%)
CIE-LABlab(24.29, -24.42, 28.93)
CIE-LCHlch(24.29, 37.86, 130.17°)
OKLaboklab(33.92% -0.0679 0.0643)
OKLCHoklch(33.92% 0.094 136.6)
XYZxyz(2.5274, 4.1898, 0.9052)
Luminance0.0419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4208 #2C0842
analogous
#3B4208 #1E4208 #08420F
triadic
#1E4208 #081E42 #42081E
tetradic
#1E4208 #083B42 #2C0842 #420F08
square
#1E4208 #083B42 #2C0842 #420F08
split-complementary
#1E4208 #0F0842 #42083B
monochromatic
#0C1B03 #0C1B03 #1E4208 #37790F #50AF15

Accessibility & contrast

On white

11.43
#1E4208 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E4208
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4208#FFFFFF#000000##FFFFFF
##1E42081.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#40390E
Tritanopia (blue-blind)
#1C3F37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e4208;
/* rgb */ color: rgb(30, 66, 8);
/* oklch */ color: oklch(33.9% 0.094 136.6);
Tailwind
colors: {
  custom: {
    50: '#5e774d',
    500: '#1e4208',
    950: '#000000',
  },
}
SCSS
$custom: #1e4208;
$custom-light: #5e774d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4208",
  "rgb": {
    "r": 30,
    "g": 66,
    "b": 8
  },
  "hsl": {
    "h": 97.241,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33921,
    "c": 0.09358,
    "h": 136.6
  },
  "luminance": 0.0419
}

Semantic roles & 50–950 ramp

primary
#1E4208
secondary
#5E2580
accent
#33F5AB
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050801
muted
#797B77

Preview Lab

Preview with #1E4208

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

Preview Lab → · Contrast checker → · Palette generator →

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