#1D3906#1D3906

#1D3906 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.1% C 0.083 H 134.5°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#1D3906
RGBrgb(29, 57, 6)
HSLhsl(93, 81%, 12%)
HSVhsv(93, 89%, 22%)
CMYKcmyk(49.1%, 0%, 89.5%, 77.6%)
CIE-LABlab(20.83, -20.65, 26.12)
CIE-LCHlch(20.83, 33.30, 128.32°)
OKLaboklab(31.06% -0.0579 0.059)
OKLCHoklch(31.06% 0.083 134.5)
XYZxyz(2.0027, 3.2005, 0.6845)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3906 #220639
analogous
#373906 #1D3906 #063908
triadic
#1D3906 #061D39 #39061D
tetradic
#1D3906 #063739 #220639 #390806
square
#1D3906 #063739 #220639 #390806
split-complementary
#1D3906 #080639 #390637
monochromatic
#0E1C03 #0E1C03 #1D3906 #39700C #55A812

Accessibility & contrast

On white

12.80
#1D3906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1D3906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3906
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3906#FFFFFF#000000##FFFFFF
##1D39061.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#38310B
Tritanopia (blue-blind)
#1D362F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d3906;
/* rgb */ color: rgb(29, 57, 6);
/* oklch */ color: oklch(31.1% 0.083 134.5);
Tailwind
colors: {
  custom: {
    50: '#5c6f4a',
    500: '#1d3906',
    950: '#000000',
  },
}
SCSS
$custom: #1d3906;
$custom-light: #5c6f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3906",
  "rgb": {
    "r": 29,
    "g": 57,
    "b": 6
  },
  "hsl": {
    "h": 92.941,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.3106,
    "c": 0.08265,
    "h": 134.5
  },
  "luminance": 0.03201
}

Semantic roles & 50–950 ramp

primary
#1D3906
secondary
#522279
accent
#30F79E
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1D3906

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

Preview Lab → · Contrast checker → · Palette generator →

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