#1D4A0C#1D4A0C

#1D4A0C is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.4% C 0.103 H 138.8°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#1D4A0C
RGBrgb(29, 74, 12)
HSLhsl(104, 72%, 17%)
HSVhsv(104, 84%, 29%)
CMYKcmyk(60.8%, 0%, 83.8%, 71%)
CIE-LABlab(27.26, -28.05, 30.20)
CIE-LCHlch(27.26, 41.22, 132.89°)
OKLaboklab(36.36% -0.0773 0.0677)
OKLCHoklch(36.36% 0.103 138.8)
XYZxyz(3.0217, 5.1851, 1.1893)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4A0C #390C4A
analogous
#3C4A0C #1D4A0C #0C4A1A
triadic
#1D4A0C #0C1D4A #4A0C1D
tetradic
#1D4A0C #0C3C4A #390C4A #4A1A0C
square
#1D4A0C #0C3C4A #390C4A #4A1A0C
split-complementary
#1D4A0C #1A0C4A #4A0C3C
monochromatic
#0A1A04 #0A1A04 #1D4A0C #327F15 #46B31D

Accessibility & contrast

On white

10.31
#1D4A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1D4A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4A0C
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4A0C#FFFFFF#000000##FFFFFF
##1D4A0C1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4302
Deuteranopia (green-blind)
#473F13
Tritanopia (blue-blind)
#19473E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1d4a0c;
/* rgb */ color: rgb(29, 74, 12);
/* oklch */ color: oklch(36.4% 0.103 138.8);
Tailwind
colors: {
  custom: {
    50: '#5f7d50',
    500: '#1d4a0c',
    950: '#000000',
  },
}
SCSS
$custom: #1d4a0c;
$custom-light: #5f7d50;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4a0c",
  "rgb": {
    "r": 29,
    "g": 74,
    "b": 12
  },
  "hsl": {
    "h": 103.548,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.3636,
    "c": 0.10278,
    "h": 138.8
  },
  "luminance": 0.05185
}

Semantic roles & 50–950 ramp

primary
#1D4A0C
secondary
#6D2C86
accent
#39EFBD
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1D4A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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