#1D3D09#1D3D09

#1D3D09 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.3% C 0.086 H 136.2°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#1D3D09
RGBrgb(29, 61, 9)
HSLhsl(97, 74%, 14%)
HSVhsv(97, 85%, 24%)
CMYKcmyk(52.5%, 0%, 85.2%, 76.1%)
CIE-LABlab(22.37, -22.35, 26.55)
CIE-LCHlch(22.37, 34.71, 130.09°)
OKLaboklab(32.33% -0.0622 0.0597)
OKLCHoklch(32.33% 0.086 136.2)
XYZxyz(2.2247, 3.6183, 0.8396)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3D09 #29093D
analogous
#373D09 #1D3D09 #093D0F
triadic
#1D3D09 #091D3D #3D091D
tetradic
#1D3D09 #09373D #29093D #3D0F09
square
#1D3D09 #09373D #29093D #3D0F09
split-complementary
#1D3D09 #0F093D #3D0937
monochromatic
#0D1B04 #0D1B04 #1D3D09 #367211 #50A819

Accessibility & contrast

On white

12.18
#1D3D09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1D3D09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3D09
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3D09#FFFFFF#000000##FFFFFF
##1D3D091.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3702
Deuteranopia (green-blind)
#3B340E
Tritanopia (blue-blind)
#1C3A33
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d3d09;
/* rgb */ color: rgb(29, 61, 9);
/* oklch */ color: oklch(32.3% 0.086 136.2);
Tailwind
colors: {
  custom: {
    50: '#5d734c',
    500: '#1d3d09',
    950: '#000000',
  },
}
SCSS
$custom: #1d3d09;
$custom-light: #5d734c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3d09",
  "rgb": {
    "r": 29,
    "g": 61,
    "b": 9
  },
  "hsl": {
    "h": 96.923,
    "s": 74.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.3233,
    "c": 0.08624,
    "h": 136.2
  },
  "luminance": 0.03618
}

Semantic roles & 50–950 ramp

primary
#1D3D09
secondary
#5B277B
accent
#37F1A9
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1D3D09

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

Preview Lab → · Contrast checker → · Palette generator →

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