#1D4C0C#1D4C0C

#1D4C0C is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.0% C 0.106 H 139.0°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#1D4C0C
RGBrgb(29, 76, 12)
HSLhsl(104, 73%, 17%)
HSVhsv(104, 84%, 30%)
CMYKcmyk(61.8%, 0%, 84.2%, 70.2%)
CIE-LABlab(28.00, -28.91, 30.93)
CIE-LCHlch(28.00, 42.34, 133.07°)
OKLaboklab(36.97% -0.0797 0.0692)
OKLCHoklch(36.97% 0.106 139)
XYZxyz(3.1574, 5.4564, 1.2346)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4C0C #3B0C4C
analogous
#3D4C0C #1D4C0C #0C4C1B
triadic
#1D4C0C #0C1D4C #4C0C1D
tetradic
#1D4C0C #0C3D4C #3B0C4C #4C1B0C
square
#1D4C0C #0C3D4C #3B0C4C #4C1B0C
split-complementary
#1D4C0C #1B0C4C #4C0C3D
monochromatic
#0A1A04 #0A1A04 #1D4C0C #318114 #45B61D

Accessibility & contrast

On white

10.04
#1D4C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1D4C0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4C0C
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4C0C#FFFFFF#000000##FFFFFF
##1D4C0C1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4401
Deuteranopia (green-blind)
#494113
Tritanopia (blue-blind)
#184940
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d4c0c;
/* rgb */ color: rgb(29, 76, 12);
/* oklch */ color: oklch(37.0% 0.106 139.0);
Tailwind
colors: {
  custom: {
    50: '#607e50',
    500: '#1d4c0c',
    950: '#000000',
  },
}
SCSS
$custom: #1d4c0c;
$custom-light: #607e50;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4c0c",
  "rgb": {
    "r": 29,
    "g": 76,
    "b": 12
  },
  "hsl": {
    "h": 104.063,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36972,
    "c": 0.10552,
    "h": 139
  },
  "luminance": 0.05457
}

Semantic roles & 50–950 ramp

primary
#1D4C0C
secondary
#6F2C88
accent
#38EFBF
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1D4C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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