#1D4E0C#1D4E0C

#1D4E0C is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.6% C 0.108 H 139.2°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#1D4E0C
RGBrgb(29, 78, 12)
HSLhsl(105, 73%, 18%)
HSVhsv(105, 85%, 31%)
CMYKcmyk(62.8%, 0%, 84.6%, 69.4%)
CIE-LABlab(28.74, -29.76, 31.64)
CIE-LCHlch(28.74, 43.44, 133.24°)
OKLaboklab(37.58% -0.082 0.0707)
OKLCHoklch(37.58% 0.108 139.2)
XYZxyz(3.2973, 5.7362, 1.2812)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E0C #3D0C4E
analogous
#3E4E0C #1D4E0C #0C4E1C
triadic
#1D4E0C #0C1D4E #4E0C1D
tetradic
#1D4E0C #0C3E4E #3D0C4E #4E1C0C
square
#1D4E0C #0C3E4E #3D0C4E #4E1C0C
split-complementary
#1D4E0C #1C0C4E #4E0C3E
monochromatic
#0A1B04 #0A1B04 #1D4E0C #318314 #44B81C

Accessibility & contrast

On white

9.78
#1D4E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4E0C
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E0C#FFFFFF#000000##FFFFFF
##1D4E0C1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514601
Deuteranopia (green-blind)
#4A4213
Tritanopia (blue-blind)
#184B42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1d4e0c;
/* rgb */ color: rgb(29, 78, 12);
/* oklch */ color: oklch(37.6% 0.108 139.2);
Tailwind
colors: {
  custom: {
    50: '#608051',
    500: '#1d4e0c',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e0c;
$custom-light: #608051;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e0c",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 12
  },
  "hsl": {
    "h": 104.545,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37583,
    "c": 0.10823,
    "h": 139.2
  },
  "luminance": 0.05737
}

Semantic roles & 50–950 ramp

primary
#1D4E0C
secondary
#722C8A
accent
#38F0C1
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1D4E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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