#1D3E08#1D3E08

#1D3E08 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.6% C 0.088 H 136.2°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#1D3E08
RGBrgb(29, 62, 8)
HSLhsl(97, 77%, 14%)
HSVhsv(97, 87%, 24%)
CMYKcmyk(53.2%, 0%, 87.1%, 75.7%)
CIE-LABlab(22.74, -22.91, 27.35)
CIE-LCHlch(22.74, 35.68, 129.96°)
OKLaboklab(32.63% -0.0638 0.0612)
OKLCHoklch(32.63% 0.088 136.2)
XYZxyz(2.2731, 3.7238, 0.8287)
Luminance0.0372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3E08 #29083E
analogous
#383E08 #1D3E08 #083E0E
triadic
#1D3E08 #081D3E #3E081D
tetradic
#1D3E08 #08383E #29083E #3E0E08
square
#1D3E08 #08383E #29083E #3E0E08
split-complementary
#1D3E08 #0E083E #3E0838
monochromatic
#0D1B03 #0D1B03 #1D3E08 #36740F #50AA16

Accessibility & contrast

On white

12.04
#1D3E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1D3E08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3E08
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3E08#FFFFFF#000000##FFFFFF
##1D3E081.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413801
Deuteranopia (green-blind)
#3C350E
Tritanopia (blue-blind)
#1C3B34
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d3e08;
/* rgb */ color: rgb(29, 62, 8);
/* oklch */ color: oklch(32.6% 0.088 136.2);
Tailwind
colors: {
  custom: {
    50: '#5d734c',
    500: '#1d3e08',
    950: '#000000',
  },
}
SCSS
$custom: #1d3e08;
$custom-light: #5d734c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3e08",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 8
  },
  "hsl": {
    "h": 96.667,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32631,
    "c": 0.08844,
    "h": 136.2
  },
  "luminance": 0.03724
}

Semantic roles & 50–950 ramp

primary
#1D3E08
secondary
#5B257D
accent
#34F4A9
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1D3E08

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

Preview Lab → · Contrast checker → · Palette generator →

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