#1D3C07#1D3C07

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

Color values

HEX#1D3C07
RGBrgb(29, 60, 7)
HSLhsl(95, 79%, 13%)
HSVhsv(95, 88%, 24%)
CMYKcmyk(51.7%, 0%, 88.3%, 76.5%)
CIE-LABlab(21.97, -22.03, 26.95)
CIE-LCHlch(21.97, 34.81, 129.26°)
OKLaboklab(32% -0.0615 0.0605)
OKLCHoklch(32% 0.086 135.5)
XYZxyz(2.1609, 3.5081, 0.7642)
Luminance0.0351 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3C07 #26073C
analogous
#373C07 #1D3C07 #073C0B
triadic
#1D3C07 #071D3C #3C071D
tetradic
#1D3C07 #07373C #26073C #3C0B07
square
#1D3C07 #07373C #26073C #3C0B07
split-complementary
#1D3C07 #0B073C #3C0737
monochromatic
#0D1B03 #0D1B03 #1D3C07 #37730D #52AA14

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1d3c07;
/* rgb */ color: rgb(29, 60, 7);
/* oklch */ color: oklch(32.0% 0.086 135.5);
Tailwind
colors: {
  custom: {
    50: '#5d724b',
    500: '#1d3c07',
    950: '#000000',
  },
}
SCSS
$custom: #1d3c07;
$custom-light: #5d724b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3c07",
  "rgb": {
    "r": 29,
    "g": 60,
    "b": 7
  },
  "hsl": {
    "h": 95.094,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32002,
    "c": 0.08626,
    "h": 135.5
  },
  "luminance": 0.03508
}

Semantic roles & 50–950 ramp

primary
#1D3C07
secondary
#57237B
accent
#32F6A4
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1D3C07

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

Preview Lab → · Contrast checker → · Palette generator →

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