#1D3A08#1D3A08

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

Color values

HEX#1D3A08
RGBrgb(29, 58, 8)
HSLhsl(95, 76%, 13%)
HSVhsv(95, 86%, 23%)
CMYKcmyk(50%, 0%, 86.2%, 77.3%)
CIE-LABlab(21.23, -20.97, 25.74)
CIE-LCHlch(21.23, 33.20, 129.17°)
OKLaboklab(31.39% -0.0586 0.0582)
OKLCHoklch(31.39% 0.083 135.2)
XYZxyz(2.0635, 3.3047, 0.7588)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3A08 #25083A
analogous
#363A08 #1D3A08 #083A0C
triadic
#1D3A08 #081D3A #3A081D
tetradic
#1D3A08 #08363A #25083A #3A0C08
square
#1D3A08 #08363A #25083A #3A0C08
split-complementary
#1D3A08 #0C083A #3A0836
monochromatic
#0D1B04 #0D1B04 #1D3A08 #38700F #53A617

Accessibility & contrast

On white

12.64
#1D3A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3A08
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3A08#FFFFFF#000000##FFFFFF
##1D3A081.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d3a08;
/* rgb */ color: rgb(29, 58, 8);
/* oklch */ color: oklch(31.4% 0.083 135.2);
Tailwind
colors: {
  custom: {
    50: '#5c704c',
    500: '#1d3a08',
    950: '#000000',
  },
}
SCSS
$custom: #1d3a08;
$custom-light: #5c704c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3a08",
  "rgb": {
    "r": 29,
    "g": 58,
    "b": 8
  },
  "hsl": {
    "h": 94.8,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.3139,
    "c": 0.08253,
    "h": 135.2
  },
  "luminance": 0.03305
}

Semantic roles & 50–950 ramp

primary
#1D3A08
secondary
#562579
accent
#35F2A3
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1D3A08

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

Preview Lab → · Contrast checker → · Palette generator →

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