#1D4004#1D4004

#1D4004 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.2% C 0.094 H 135.9°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#1D4004
RGBrgb(29, 64, 4)
HSLhsl(95, 88%, 13%)
HSVhsv(95, 94%, 25%)
CMYKcmyk(54.7%, 0%, 93.8%, 74.9%)
CIE-LABlab(23.46, -24.18, 29.72)
CIE-LCHlch(23.46, 38.31, 129.13°)
OKLaboklab(33.22% -0.0676 0.0656)
OKLCHoklch(33.22% 0.094 135.9)
XYZxyz(2.3619, 3.9366, 0.7502)
Luminance0.0394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4004 #270440
analogous
#3B4004 #1D4004 #044009
triadic
#1D4004 #041D40 #40041D
tetradic
#1D4004 #043B40 #270440 #400904
square
#1D4004 #043B40 #270440 #400904
split-complementary
#1D4004 #090440 #40043B
monochromatic
#0D1D02 #0D1D02 #1D4004 #377A08 #51B30B

Accessibility & contrast

On white

11.75
#1D4004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4004
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4004#FFFFFF#000000##FFFFFF
##1D40041.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d4004;
/* rgb */ color: rgb(29, 64, 4);
/* oklch */ color: oklch(33.2% 0.094 135.9);
Tailwind
colors: {
  custom: {
    50: '#5e754a',
    500: '#1d4004',
    950: '#000000',
  },
}
SCSS
$custom: #1d4004;
$custom-light: #5e754a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4004",
  "rgb": {
    "r": 29,
    "g": 64,
    "b": 4
  },
  "hsl": {
    "h": 95,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.33217,
    "c": 0.09417,
    "h": 135.9
  },
  "luminance": 0.03937
}

Semantic roles & 50–950 ramp

primary
#1D4004
secondary
#581F81
accent
#29FEA6
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050801
muted
#797B77

Preview Lab

Preview with #1D4004

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

Preview Lab → · Contrast checker → · Palette generator →

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