#1D3D05#1D3D05

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

Color values

HEX#1D3D05
RGBrgb(29, 61, 5)
HSLhsl(94, 85%, 13%)
HSVhsv(94, 92%, 24%)
CMYKcmyk(52.5%, 0%, 91.8%, 76.1%)
CIE-LABlab(22.34, -22.69, 28.15)
CIE-LCHlch(22.34, 36.16, 128.86°)
OKLaboklab(32.29% -0.0635 0.0627)
OKLCHoklch(32.29% 0.089 135.4)
XYZxyz(2.2028, 3.6095, 0.7242)
Luminance0.0361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3D05 #25053D
analogous
#393D05 #1D3D05 #053D09
triadic
#1D3D05 #051D3D #3D051D
tetradic
#1D3D05 #05393D #25053D #3D0905
square
#1D3D05 #05393D #25053D #3D0905
split-complementary
#1D3D05 #09053D #3D0539
monochromatic
#0D1C02 #0D1C02 #1D3D05 #38760A #53AE0E

Accessibility & contrast

On white

12.20
#1D3D05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3D05
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3D05#FFFFFF#000000##FFFFFF
##1D3D051.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d3d05;
/* rgb */ color: rgb(29, 61, 5);
/* oklch */ color: oklch(32.3% 0.089 135.4);
Tailwind
colors: {
  custom: {
    50: '#5d734a',
    500: '#1d3d05',
    950: '#000000',
  },
}
SCSS
$custom: #1d3d05;
$custom-light: #5d734a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3d05",
  "rgb": {
    "r": 29,
    "g": 61,
    "b": 5
  },
  "hsl": {
    "h": 94.286,
    "s": 84.848,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32294,
    "c": 0.08923,
    "h": 135.4
  },
  "luminance": 0.0361
}

Semantic roles & 50–950 ramp

primary
#1D3D05
secondary
#56207E
accent
#2DFBA3
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1D3D05

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

Preview Lab → · Contrast checker → · Palette generator →

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