#1D4908#1D4908

#1D4908 is a dark, moderate green. Relative luminance 0.050; OKLCH L 36.0% C 0.104 H 138.1°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#1D4908
RGBrgb(29, 73, 8)
HSLhsl(101, 80%, 16%)
HSVhsv(101, 89%, 29%)
CMYKcmyk(60.3%, 0%, 89%, 71.4%)
CIE-LABlab(26.86, -27.91, 31.34)
CIE-LCHlch(26.86, 41.97, 131.68°)
OKLaboklab(36.03% -0.0772 0.0694)
OKLCHoklch(36.03% 0.104 138.1)
XYZxyz(2.9330, 5.0436, 1.0486)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4908 #340849
analogous
#3D4908 #1D4908 #084913
triadic
#1D4908 #081D49 #49081D
tetradic
#1D4908 #083D49 #340849 #491308
square
#1D4908 #083D49 #340849 #491308
split-complementary
#1D4908 #130849 #49083D
monochromatic
#0B1C03 #0B1C03 #1D4908 #33800E #49B714

Accessibility & contrast

On white

10.45
#1D4908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1D4908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4908
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4908#FFFFFF#000000##FFFFFF
##1D49081.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4200
Deuteranopia (green-blind)
#463E10
Tritanopia (blue-blind)
#19463D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1d4908;
/* rgb */ color: rgb(29, 73, 8);
/* oklch */ color: oklch(36.0% 0.104 138.1);
Tailwind
colors: {
  custom: {
    50: '#5f7c4e',
    500: '#1d4908',
    950: '#000000',
  },
}
SCSS
$custom: #1d4908;
$custom-light: #5f7c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4908",
  "rgb": {
    "r": 29,
    "g": 73,
    "b": 8
  },
  "hsl": {
    "h": 100.615,
    "s": 80.247,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36025,
    "c": 0.10381,
    "h": 138.1
  },
  "luminance": 0.05044
}

Semantic roles & 50–950 ramp

primary
#1D4908
secondary
#682687
accent
#31F7B7
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1D4908

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

Preview Lab → · Contrast checker → · Palette generator →

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