#1E3908#1E3908

#1E3908 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.1% C 0.080 H 134.3°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#1E3908
RGBrgb(30, 57, 8)
HSLhsl(93, 75%, 13%)
HSVhsv(93, 86%, 22%)
CMYKcmyk(47.4%, 0%, 86%, 77.6%)
CIE-LABlab(20.90, -20.06, 25.41)
CIE-LCHlch(20.90, 32.37, 128.29°)
OKLaboklab(31.14% -0.0562 0.0575)
OKLCHoklch(31.14% 0.08 134.3)
XYZxyz(2.0423, 3.2197, 0.7435)
Luminance0.0322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3908 #230839
analogous
#363908 #1E3908 #08390A
triadic
#1E3908 #081E39 #39081E
tetradic
#1E3908 #083639 #230839 #390A08
square
#1E3908 #083639 #230839 #390A08
split-complementary
#1E3908 #0A0839 #390836
monochromatic
#0E1B04 #0E1B04 #1E3908 #3A6F10 #56A417

Accessibility & contrast

On white

12.77
#1E3908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1E3908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3908
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3908#FFFFFF#000000##FFFFFF
##1E39081.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3402
Deuteranopia (green-blind)
#38310D
Tritanopia (blue-blind)
#1E3630
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e3908;
/* rgb */ color: rgb(30, 57, 8);
/* oklch */ color: oklch(31.1% 0.080 134.3);
Tailwind
colors: {
  custom: {
    50: '#5d6f4b',
    500: '#1e3908',
    950: '#000000',
  },
}
SCSS
$custom: #1e3908;
$custom-light: #5d6f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3908",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 8
  },
  "hsl": {
    "h": 93.061,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.31141,
    "c": 0.08041,
    "h": 134.3
  },
  "luminance": 0.0322
}

Semantic roles & 50–950 ramp

primary
#1E3908
secondary
#532578
accent
#36F29D
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1E3908

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

Preview Lab → · Contrast checker → · Palette generator →

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