#1D3A06#1D3A06

#1D3A06 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.4% C 0.084 H 134.8°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#1D3A06
RGBrgb(29, 58, 6)
HSLhsl(93, 81%, 13%)
HSVhsv(93, 90%, 23%)
CMYKcmyk(50%, 0%, 89.7%, 77.3%)
CIE-LABlab(21.21, -21.14, 26.54)
CIE-LCHlch(21.21, 33.93, 128.55°)
OKLaboklab(31.37% -0.0592 0.0597)
OKLCHoklch(31.37% 0.084 134.8)
XYZxyz(2.0526, 3.3004, 0.7011)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3A06 #23063A
analogous
#373A06 #1D3A06 #063A09
triadic
#1D3A06 #061D3A #3A061D
tetradic
#1D3A06 #06373A #23063A #3A0906
square
#1D3A06 #06373A #23063A #3A0906
split-complementary
#1D3A06 #09063A #3A0637
monochromatic
#0E1C03 #0E1C03 #1D3A06 #39710C #54A911

Accessibility & contrast

On white

12.65
#1D3A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1D3A06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3A06
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3A06#FFFFFF#000000##FFFFFF
##1D3A061.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3400
Deuteranopia (green-blind)
#39320B
Tritanopia (blue-blind)
#1C3730
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d3a06;
/* rgb */ color: rgb(29, 58, 6);
/* oklch */ color: oklch(31.4% 0.084 134.8);
Tailwind
colors: {
  custom: {
    50: '#5c704b',
    500: '#1d3a06',
    950: '#000000',
  },
}
SCSS
$custom: #1d3a06;
$custom-light: #5c704b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3a06",
  "rgb": {
    "r": 29,
    "g": 58,
    "b": 6
  },
  "hsl": {
    "h": 93.462,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.31371,
    "c": 0.08412,
    "h": 134.8
  },
  "luminance": 0.033
}

Semantic roles & 50–950 ramp

primary
#1D3A06
secondary
#53227A
accent
#30F89F
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1D3A06

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

Preview Lab → · Contrast checker → · Palette generator →

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