#1D511D#1D511D

#1D511D is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.7% C 0.099 H 143.4°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#1D511D
RGBrgb(29, 81, 29)
HSLhsl(120, 47%, 22%)
HSVhsv(120, 64%, 32%)
CMYKcmyk(64.2%, 0%, 64.2%, 68.2%)
CIE-LABlab(30.00, -29.25, 25.06)
CIE-LCHlch(30.00, 38.52, 139.41°)
OKLaboklab(38.67% -0.0795 0.0591)
OKLCHoklch(38.67% 0.099 143.4)
XYZxyz(3.6707, 6.2344, 2.1721)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D511D #511D51
analogous
#37511D #1D511D #1D5137
triadic
#1D511D #1D1D51 #511D1D
tetradic
#1D511D #1D3751 #511D51 #51371D
square
#1D511D #1D3751 #511D51 #51371D
split-complementary
#1D511D #371D51 #511D37
monochromatic
#081708 #0D240D #1D511D #2D7E2D #3DAB3D

Accessibility & contrast

On white

9.35
#1D511D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1D511D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D511D
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D511D#FFFFFF#000000##FFFFFF
##1D511D1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534918
Deuteranopia (green-blind)
#4C4521
Tritanopia (blue-blind)
#144F46
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d511d;
/* rgb */ color: rgb(29, 81, 29);
/* oklch */ color: oklch(38.7% 0.099 143.4);
Tailwind
colors: {
  custom: {
    50: '#60825b',
    500: '#1d511d',
    950: '#000000',
  },
}
SCSS
$custom: #1d511d;
$custom-light: #60825b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d511d",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 29
  },
  "hsl": {
    "h": 120,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.38672,
    "c": 0.09905,
    "h": 143.4
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#1D511D
secondary
#864486
accent
#51D7D7
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050A04
muted
#797C79

Preview Lab

Preview with #1D511D

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

Preview Lab → · Contrast checker → · Palette generator →

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