#1D3803#1D3803

#1D3803 is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 30.7% C 0.084 H 133.5°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#1D3803
RGBrgb(29, 56, 3)
HSLhsl(91, 90%, 12%)
HSVhsv(91, 95%, 22%)
CMYKcmyk(48.2%, 0%, 94.6%, 78%)
CIE-LABlab(20.42, -20.42, 26.90)
CIE-LCHlch(20.42, 33.77, 127.21°)
OKLaboklab(30.72% -0.0576 0.0607)
OKLCHoklch(30.72% 0.084 133.5)
XYZxyz(1.9373, 3.0960, 0.5816)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3803 #1E0338
analogous
#383803 #1D3803 #033803
triadic
#1D3803 #031D38 #38031D
tetradic
#1D3803 #033838 #1E0338 #380303
square
#1D3803 #033838 #1E0338 #380303
split-complementary
#1D3803 #030338 #380338
monochromatic
#0F1D02 #0F1D02 #1D3803 #3B7206 #59AC09

Accessibility & contrast

On white

12.97
#1D3803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1D3803 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3803
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3803#FFFFFF#000000##FFFFFF
##1D38031.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#373008
Tritanopia (blue-blind)
#1D352E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d3803;
/* rgb */ color: rgb(29, 56, 3);
/* oklch */ color: oklch(30.7% 0.084 133.5);
Tailwind
colors: {
  custom: {
    50: '#5c6f49',
    500: '#1d3803',
    950: '#000000',
  },
}
SCSS
$custom: #1d3803;
$custom-light: #5c6f49;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3803",
  "rgb": {
    "r": 29,
    "g": 56,
    "b": 3
  },
  "hsl": {
    "h": 90.566,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.3072,
    "c": 0.08374,
    "h": 133.5
  },
  "luminance": 0.03096
}

Semantic roles & 50–950 ramp

primary
#1D3803
secondary
#4C1C7B
accent
#29FF96
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1D3803

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

Preview Lab → · Contrast checker → · Palette generator →

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