#1D3B06#1D3B06

#1D3B06 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.7% C 0.086 H 135.0°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#1D3B06
RGBrgb(29, 59, 6)
HSLhsl(94, 82%, 13%)
HSVhsv(94, 90%, 23%)
CMYKcmyk(50.8%, 0%, 89.8%, 76.9%)
CIE-LABlab(21.59, -21.64, 26.95)
CIE-LCHlch(21.59, 34.56, 128.76°)
OKLaboklab(31.68% -0.0606 0.0605)
OKLCHoklch(31.68% 0.086 135)
XYZxyz(2.1035, 3.4022, 0.7181)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3B06 #24063B
analogous
#373B06 #1D3B06 #063B09
triadic
#1D3B06 #061D3B #3B061D
tetradic
#1D3B06 #06373B #24063B #3B0906
square
#1D3B06 #06373B #24063B #3B0906
split-complementary
#1D3B06 #09063B #3B0637
monochromatic
#0E1C03 #0E1C03 #1D3B06 #38730C #54AA11

Accessibility & contrast

On white

12.50
#1D3B06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1D3B06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3B06
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3B06#FFFFFF#000000##FFFFFF
##1D3B061.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3500
Deuteranopia (green-blind)
#3A330B
Tritanopia (blue-blind)
#1C3831
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d3b06;
/* rgb */ color: rgb(29, 59, 6);
/* oklch */ color: oklch(31.7% 0.086 135.0);
Tailwind
colors: {
  custom: {
    50: '#5d714b',
    500: '#1d3b06',
    950: '#000000',
  },
}
SCSS
$custom: #1d3b06;
$custom-light: #5d714b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3b06",
  "rgb": {
    "r": 29,
    "g": 59,
    "b": 6
  },
  "hsl": {
    "h": 93.962,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.31682,
    "c": 0.08558,
    "h": 135
  },
  "luminance": 0.03402
}

Semantic roles & 50–950 ramp

primary
#1D3B06
secondary
#54227B
accent
#30F8A1
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1D3B06

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

Preview Lab → · Contrast checker → · Palette generator →

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