#1E3904#1E3904

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

Color values

HEX#1E3904
RGBrgb(30, 57, 4)
HSLhsl(91, 87%, 12%)
HSVhsv(91, 93%, 22%)
CMYKcmyk(47.4%, 0%, 93%, 77.6%)
CIE-LABlab(20.87, -20.41, 27.00)
CIE-LCHlch(20.87, 33.85, 127.10°)
OKLaboklab(31.1% -0.0576 0.0607)
OKLCHoklch(31.1% 0.084 133.5)
XYZxyz(2.0204, 3.2109, 0.6282)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3904 #1F0439
analogous
#393904 #1E3904 #043905
triadic
#1E3904 #041E39 #39041E
tetradic
#1E3904 #043939 #1F0439 #390504
square
#1E3904 #043939 #1F0439 #390504
split-complementary
#1E3904 #050439 #390439
monochromatic
#0F1D02 #0F1D02 #1E3904 #3C7208 #5AAB0C

Accessibility & contrast

On white

12.79
#1E3904 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E3904
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3904#FFFFFF#000000##FFFFFF
##1E39041.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#383109
Tritanopia (blue-blind)
#1E362F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e3904;
/* rgb */ color: rgb(30, 57, 4);
/* oklch */ color: oklch(31.1% 0.084 133.5);
Tailwind
colors: {
  custom: {
    50: '#5d6f49',
    500: '#1e3904',
    950: '#000000',
  },
}
SCSS
$custom: #1e3904;
$custom-light: #5d6f49;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3904",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 4
  },
  "hsl": {
    "h": 90.566,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31103,
    "c": 0.08369,
    "h": 133.5
  },
  "luminance": 0.03211
}

Semantic roles & 50–950 ramp

primary
#1E3904
secondary
#4D1E7B
accent
#2BFD96
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1E3904

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

Preview Lab → · Contrast checker → · Palette generator →

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