#1D4D0C#1D4D0C

#1D4D0C is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.3% C 0.107 H 139.1°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#1D4D0C
RGBrgb(29, 77, 12)
HSLhsl(104, 73%, 17%)
HSVhsv(104, 84%, 30%)
CMYKcmyk(62.3%, 0%, 84.4%, 69.8%)
CIE-LABlab(28.37, -29.34, 31.29)
CIE-LCHlch(28.37, 42.89, 133.16°)
OKLaboklab(37.28% -0.0808 0.0699)
OKLCHoklch(37.28% 0.107 139.1)
XYZxyz(3.2268, 5.5952, 1.2577)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4D0C #3C0C4D
analogous
#3D4D0C #1D4D0C #0C4D1C
triadic
#1D4D0C #0C1D4D #4D0C1D
tetradic
#1D4D0C #0C3D4D #3C0C4D #4D1C0C
square
#1D4D0C #0C3D4D #3C0C4D #4D1C0C
split-complementary
#1D4D0C #1C0C4D #4D0C3D
monochromatic
#0A1A04 #0A1A04 #1D4D0C #318214 #45B71D

Accessibility & contrast

On white

9.91
#1D4D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1D4D0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4D0C
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4D0C#FFFFFF#000000##FFFFFF
##1D4D0C1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504501
Deuteranopia (green-blind)
#494113
Tritanopia (blue-blind)
#184A41
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1d4d0c;
/* rgb */ color: rgb(29, 77, 12);
/* oklch */ color: oklch(37.3% 0.107 139.1);
Tailwind
colors: {
  custom: {
    50: '#607f50',
    500: '#1d4d0c',
    950: '#000000',
  },
}
SCSS
$custom: #1d4d0c;
$custom-light: #607f50;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4d0c",
  "rgb": {
    "r": 29,
    "g": 77,
    "b": 12
  },
  "hsl": {
    "h": 104.308,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37278,
    "c": 0.10688,
    "h": 139.1
  },
  "luminance": 0.05596
}

Semantic roles & 50–950 ramp

primary
#1D4D0C
secondary
#702C89
accent
#38F0C0
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1D4D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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