#1D3D07#1D3D07

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

Color values

HEX#1D3D07
RGBrgb(29, 61, 7)
HSLhsl(96, 79%, 13%)
HSVhsv(96, 89%, 24%)
CMYKcmyk(52.5%, 0%, 88.5%, 76.1%)
CIE-LABlab(22.35, -22.52, 27.35)
CIE-LCHlch(22.35, 35.43, 129.46°)
OKLaboklab(32.31% -0.0628 0.0612)
OKLCHoklch(32.31% 0.088 135.8)
XYZxyz(2.2137, 3.6139, 0.7819)
Luminance0.0361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3D07 #27073D
analogous
#383D07 #1D3D07 #073D0C
triadic
#1D3D07 #071D3D #3D071D
tetradic
#1D3D07 #07383D #27073D #3D0C07
square
#1D3D07 #07383D #27073D #3D0C07
split-complementary
#1D3D07 #0C073D #3D0738
monochromatic
#0D1B03 #0D1B03 #1D3D07 #37740D #51AB14

Accessibility & contrast

On white

12.19
#1D3D07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3D07
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3D07#FFFFFF#000000##FFFFFF
##1D3D071.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d3d07;
/* rgb */ color: rgb(29, 61, 7);
/* oklch */ color: oklch(32.3% 0.088 135.8);
Tailwind
colors: {
  custom: {
    50: '#5d734b',
    500: '#1d3d07',
    950: '#000000',
  },
}
SCSS
$custom: #1d3d07;
$custom-light: #5d734b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3d07",
  "rgb": {
    "r": 29,
    "g": 61,
    "b": 7
  },
  "hsl": {
    "h": 95.556,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32312,
    "c": 0.08772,
    "h": 135.8
  },
  "luminance": 0.03614
}

Semantic roles & 50–950 ramp

primary
#1D3D07
secondary
#58237C
accent
#32F6A6
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1D3D07

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

Preview Lab → · Contrast checker → · Palette generator →

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