#1D4608#1D4608

#1D4608 is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.1% C 0.100 H 137.6°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#1D4608
RGBrgb(29, 70, 8)
HSLhsl(100, 79%, 15%)
HSVhsv(100, 89%, 27%)
CMYKcmyk(58.6%, 0%, 88.6%, 72.5%)
CIE-LABlab(25.74, -26.59, 30.30)
CIE-LCHlch(25.74, 40.31, 131.27°)
OKLaboklab(35.1% -0.0737 0.0672)
OKLCHoklch(35.1% 0.1 137.6)
XYZxyz(2.7406, 4.6589, 0.9845)
Luminance0.0466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4608 #310846
analogous
#3C4608 #1D4608 #084612
triadic
#1D4608 #081D46 #46081D
tetradic
#1D4608 #083C46 #310846 #461208
square
#1D4608 #083C46 #310846 #461208
split-complementary
#1D4608 #120846 #46083C
monochromatic
#0B1B03 #0B1B03 #1D4608 #347D0E #4BB415

Accessibility & contrast

On white

10.87
#1D4608 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1D4608 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4608
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4608#FFFFFF#000000##FFFFFF
##1D46081.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F00
Deuteranopia (green-blind)
#433C0F
Tritanopia (blue-blind)
#1A433B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d4608;
/* rgb */ color: rgb(29, 70, 8);
/* oklch */ color: oklch(35.1% 0.100 137.6);
Tailwind
colors: {
  custom: {
    50: '#5f7a4d',
    500: '#1d4608',
    950: '#000000',
  },
}
SCSS
$custom: #1d4608;
$custom-light: #5f7a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4608",
  "rgb": {
    "r": 29,
    "g": 70,
    "b": 8
  },
  "hsl": {
    "h": 99.677,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.35102,
    "c": 0.09973,
    "h": 137.6
  },
  "luminance": 0.04659
}

Semantic roles & 50–950 ramp

primary
#1D4608
secondary
#642684
accent
#32F6B4
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1D4608

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

Preview Lab → · Contrast checker → · Palette generator →

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