#1D3C05#1D3C05

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

Color values

HEX#1D3C05
RGBrgb(29, 60, 5)
HSLhsl(94, 85%, 13%)
HSVhsv(94, 92%, 24%)
CMYKcmyk(51.7%, 0%, 91.7%, 76.5%)
CIE-LABlab(21.96, -22.21, 27.75)
CIE-LCHlch(21.96, 35.54, 128.67°)
OKLaboklab(31.98% -0.0622 0.062)
OKLCHoklch(31.98% 0.088 135.1)
XYZxyz(2.1499, 3.5038, 0.7066)
Luminance0.0350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3C05 #24053C
analogous
#383C05 #1D3C05 #053C08
triadic
#1D3C05 #051D3C #3C051D
tetradic
#1D3C05 #05383C #24053C #3C0805
square
#1D3C05 #05383C #24053C #3C0805
split-complementary
#1D3C05 #08053C #3C0538
monochromatic
#0E1C02 #0E1C02 #1D3C05 #38740A #54AD0E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D3C05#FFFFFF#000000##FFFFFF
##1D3C051.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)
#3B340B
Tritanopia (blue-blind)
#1C3932
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d3c05;
/* rgb */ color: rgb(29, 60, 5);
/* oklch */ color: oklch(32.0% 0.088 135.1);
Tailwind
colors: {
  custom: {
    50: '#5d724a',
    500: '#1d3c05',
    950: '#000000',
  },
}
SCSS
$custom: #1d3c05;
$custom-light: #5d724a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3c05",
  "rgb": {
    "r": 29,
    "g": 60,
    "b": 5
  },
  "hsl": {
    "h": 93.818,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.31984,
    "c": 0.08781,
    "h": 135.1
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#1D3C05
secondary
#54207D
accent
#2DFBA1
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1D3C05

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

Preview Lab → · Contrast checker → · Palette generator →

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