#1D4E12#1D4E12

#1D4E12 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.6% C 0.104 H 140.3°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#1D4E12
RGBrgb(29, 78, 18)
HSLhsl(109, 63%, 19%)
HSVhsv(109, 77%, 31%)
CMYKcmyk(62.8%, 0%, 76.9%, 69.4%)
CIE-LABlab(28.78, -29.25, 29.19)
CIE-LCHlch(28.78, 41.33, 135.05°)
OKLaboklab(37.63% -0.0802 0.0665)
OKLCHoklch(37.63% 0.104 140.3)
XYZxyz(3.3401, 5.7534, 1.5066)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E12 #43124E
analogous
#3B4E12 #1D4E12 #124E25
triadic
#1D4E12 #121D4E #4E121D
tetradic
#1D4E12 #123B4E #43124E #4E2512
square
#1D4E12 #123B4E #43124E #4E2512
split-complementary
#1D4E12 #25124E #4E123B
monochromatic
#091906 #0B1C07 #1D4E12 #2F801D #42B129

Accessibility & contrast

On white

9.76
#1D4E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1D4E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4E12
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E12#FFFFFF#000000##FFFFFF
##1D4E121.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504609
Deuteranopia (green-blind)
#4A4218
Tritanopia (blue-blind)
#174B42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1d4e12;
/* rgb */ color: rgb(29, 78, 18);
/* oklch */ color: oklch(37.6% 0.104 140.3);
Tailwind
colors: {
  custom: {
    50: '#608054',
    500: '#1d4e12',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e12;
$custom-light: #608054;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e12",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 109,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37634,
    "c": 0.10417,
    "h": 140.3
  },
  "luminance": 0.05754
}

Semantic roles & 50–950 ramp

primary
#1D4E12
secondary
#783587
accent
#42E6C8
background
#F5F7F4
surface
#EAEEE8
border
#C6C9C4
text
#050A03
muted
#797C78

Preview Lab

Preview with #1D4E12

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

Preview Lab → · Contrast checker → · Palette generator →

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