#1D3D06#1D3D06

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

Color values

HEX#1D3D06
RGBrgb(29, 61, 6)
HSLhsl(95, 82%, 13%)
HSVhsv(95, 90%, 24%)
CMYKcmyk(52.5%, 0%, 90.2%, 76.1%)
CIE-LABlab(22.34, -22.60, 27.75)
CIE-LCHlch(22.34, 35.79, 129.16°)
OKLaboklab(32.3% -0.0632 0.062)
OKLCHoklch(32.3% 0.088 135.6)
XYZxyz(2.2083, 3.6117, 0.7530)
Luminance0.0361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3D06 #26063D
analogous
#383D06 #1D3D06 #063D0A
triadic
#1D3D06 #061D3D #3D061D
tetradic
#1D3D06 #06383D #26063D #3D0A06
square
#1D3D06 #06383D #26063D #3D0A06
split-complementary
#1D3D06 #0A063D #3D0638
monochromatic
#0D1C03 #0D1C03 #1D3D06 #37750B #52AC11

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D3D06#FFFFFF#000000##FFFFFF
##1D3D061.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)
#3B340C
Tritanopia (blue-blind)
#1C3A33
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d3d06;
/* rgb */ color: rgb(29, 61, 6);
/* oklch */ color: oklch(32.3% 0.088 135.6);
Tailwind
colors: {
  custom: {
    50: '#5d734b',
    500: '#1d3d06',
    950: '#000000',
  },
}
SCSS
$custom: #1d3d06;
$custom-light: #5d734b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3d06",
  "rgb": {
    "r": 29,
    "g": 61,
    "b": 6
  },
  "hsl": {
    "h": 94.909,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32303,
    "c": 0.08847,
    "h": 135.6
  },
  "luminance": 0.03612
}

Semantic roles & 50–950 ramp

primary
#1D3D06
secondary
#57227D
accent
#2FF8A4
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1D3D06

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

Preview Lab → · Contrast checker → · Palette generator →

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