#1D3C06#1D3C06

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

Color values

HEX#1D3C06
RGBrgb(29, 60, 6)
HSLhsl(94, 82%, 13%)
HSVhsv(94, 90%, 24%)
CMYKcmyk(51.7%, 0%, 90%, 76.5%)
CIE-LABlab(21.97, -22.12, 27.35)
CIE-LCHlch(21.97, 35.18, 128.96°)
OKLaboklab(31.99% -0.0619 0.0612)
OKLCHoklch(31.99% 0.087 135.3)
XYZxyz(2.1554, 3.5059, 0.7354)
Luminance0.0351 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3C06 #25063C
analogous
#383C06 #1D3C06 #063C0A
triadic
#1D3C06 #061D3C #3C061D
tetradic
#1D3C06 #06383C #25063C #3C0A06
square
#1D3C06 #06383C #25063C #3C0A06
split-complementary
#1D3C06 #0A063C #3C0638
monochromatic
#0D1C03 #0D1C03 #1D3C06 #38740C #53AB11

Accessibility & contrast

On white

12.34
#1D3C06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3C06
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3C06#FFFFFF#000000##FFFFFF
##1D3C061.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d3c06;
/* rgb */ color: rgb(29, 60, 6);
/* oklch */ color: oklch(32.0% 0.087 135.3);
Tailwind
colors: {
  custom: {
    50: '#5d724b',
    500: '#1d3c06',
    950: '#000000',
  },
}
SCSS
$custom: #1d3c06;
$custom-light: #5d724b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3c06",
  "rgb": {
    "r": 29,
    "g": 60,
    "b": 6
  },
  "hsl": {
    "h": 94.444,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.31993,
    "c": 0.08703,
    "h": 135.3
  },
  "luminance": 0.03506
}

Semantic roles & 50–950 ramp

primary
#1D3C06
secondary
#56227C
accent
#30F8A3
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1D3C06

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

Preview Lab → · Contrast checker → · Palette generator →

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