#1D3905#1D3905

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

Color values

HEX#1D3905
RGBrgb(29, 57, 5)
HSLhsl(92, 84%, 12%)
HSVhsv(92, 91%, 22%)
CMYKcmyk(49.1%, 0%, 91.2%, 77.6%)
CIE-LABlab(20.82, -20.74, 26.52)
CIE-LCHlch(20.82, 33.67, 128.02°)
OKLaboklab(31.05% -0.0583 0.0598)
OKLCHoklch(31.05% 0.083 134.3)
XYZxyz(1.9972, 3.1983, 0.6557)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3905 #210539
analogous
#373905 #1D3905 #053907
triadic
#1D3905 #051D39 #39051D
tetradic
#1D3905 #053739 #210539 #390705
square
#1D3905 #053739 #210539 #390705
split-complementary
#1D3905 #070539 #390537
monochromatic
#0E1C02 #0E1C02 #1D3905 #3A710A #56AA0F

Accessibility & contrast

On white

12.81
#1D3905 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3905
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3905#FFFFFF#000000##FFFFFF
##1D39051.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d3905;
/* rgb */ color: rgb(29, 57, 5);
/* oklch */ color: oklch(31.1% 0.083 134.3);
Tailwind
colors: {
  custom: {
    50: '#5c6f4a',
    500: '#1d3905',
    950: '#000000',
  },
}
SCSS
$custom: #1d3905;
$custom-light: #5c6f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3905",
  "rgb": {
    "r": 29,
    "g": 57,
    "b": 5
  },
  "hsl": {
    "h": 92.308,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31051,
    "c": 0.08348,
    "h": 134.3
  },
  "luminance": 0.03198
}

Semantic roles & 50–950 ramp

primary
#1D3905
secondary
#50207A
accent
#2EFA9C
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1D3905

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

Preview Lab → · Contrast checker → · Palette generator →

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