#1E4004#1E4004

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

Color values

HEX#1E4004
RGBrgb(30, 64, 4)
HSLhsl(94, 88%, 13%)
HSVhsv(94, 94%, 25%)
CMYKcmyk(53.1%, 0%, 93.8%, 74.9%)
CIE-LABlab(23.51, -23.80, 29.78)
CIE-LCHlch(23.51, 38.13, 128.63°)
OKLaboklab(33.27% -0.0666 0.0657)
OKLCHoklch(33.27% 0.094 135.4)
XYZxyz(2.3907, 3.9514, 0.7516)
Luminance0.0395 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4004 #260440
analogous
#3C4004 #1E4004 #044008
triadic
#1E4004 #041E40 #40041E
tetradic
#1E4004 #043C40 #260440 #400804
square
#1E4004 #043C40 #260440 #400804
split-complementary
#1E4004 #080440 #40043C
monochromatic
#0E1D02 #0E1D02 #1E4004 #397A08 #54B30B

Accessibility & contrast

On white

11.73
#1E4004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E4004
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4004#FFFFFF#000000##FFFFFF
##1E40041.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#3E370B
Tritanopia (blue-blind)
#1D3D35
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e4004;
/* rgb */ color: rgb(30, 64, 4);
/* oklch */ color: oklch(33.3% 0.094 135.4);
Tailwind
colors: {
  custom: {
    50: '#5e754a',
    500: '#1e4004',
    950: '#000000',
  },
}
SCSS
$custom: #1e4004;
$custom-light: #5e754a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4004",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 4
  },
  "hsl": {
    "h": 94,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.33271,
    "c": 0.09358,
    "h": 135.4
  },
  "luminance": 0.03952
}

Semantic roles & 50–950 ramp

primary
#1E4004
secondary
#561F81
accent
#29FEA2
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050801
muted
#797B77

Preview Lab

Preview with #1E4004

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

Preview Lab → · Contrast checker → · Palette generator →

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