#1D3C04#1D3C04

#1D3C04 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.0% C 0.089 H 134.9°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#1D3C04
RGBrgb(29, 60, 4)
HSLhsl(93, 88%, 13%)
HSVhsv(93, 93%, 24%)
CMYKcmyk(51.7%, 0%, 93.3%, 76.5%)
CIE-LABlab(21.95, -22.29, 28.15)
CIE-LCHlch(21.95, 35.91, 128.38°)
OKLaboklab(31.98% -0.0625 0.0628)
OKLCHoklch(31.98% 0.089 134.9)
XYZxyz(2.1444, 3.5016, 0.6777)
Luminance0.0350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3C04 #23043C
analogous
#393C04 #1D3C04 #043C07
triadic
#1D3C04 #041D3C #3C041D
tetradic
#1D3C04 #04393C #23043C #3C0704
square
#1D3C04 #04393C #23043C #3C0704
split-complementary
#1D3C04 #07043C #3C0439
monochromatic
#0E1D02 #0E1D02 #1D3C04 #397508 #54AF0C

Accessibility & contrast

On white

12.35
#1D3C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1D3C04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3C04
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3C04#FFFFFF#000000##FFFFFF
##1D3C041.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3600
Deuteranopia (green-blind)
#3B340A
Tritanopia (blue-blind)
#1C3932
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d3c04;
/* rgb */ color: rgb(29, 60, 4);
/* oklch */ color: oklch(32.0% 0.089 134.9);
Tailwind
colors: {
  custom: {
    50: '#5d724a',
    500: '#1d3c04',
    950: '#000000',
  },
}
SCSS
$custom: #1d3c04;
$custom-light: #5d724a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3c04",
  "rgb": {
    "r": 29,
    "g": 60,
    "b": 4
  },
  "hsl": {
    "h": 93.214,
    "s": 87.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.31975,
    "c": 0.08859,
    "h": 134.9
  },
  "luminance": 0.03502
}

Semantic roles & 50–950 ramp

primary
#1D3C04
secondary
#531E7E
accent
#2AFE9F
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1D3C04

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

Preview Lab → · Contrast checker → · Palette generator →

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