#1D511C#1D511C

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

Color values

HEX#1D511C
RGBrgb(29, 81, 28)
HSLhsl(119, 49%, 21%)
HSVhsv(119, 65%, 32%)
CMYKcmyk(64.2%, 0%, 65.4%, 68.2%)
CIE-LABlab(29.98, -29.39, 25.58)
CIE-LCHlch(29.98, 38.96, 138.96°)
OKLaboklab(38.66% -0.0799 0.0601)
OKLCHoklch(38.66% 0.1 143)
XYZxyz(3.6585, 6.2296, 2.1080)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D511C #501C51
analogous
#38511C #1D511C #1C5136
triadic
#1D511C #1C1D51 #511C1D
tetradic
#1D511C #1C3851 #501C51 #51361C
square
#1D511C #1C3851 #501C51 #51361C
split-complementary
#1D511C #361C51 #511C38
monochromatic
#081708 #0D240C #1D511C #2D7E2C #3EAC3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D511C#FFFFFF#000000##FFFFFF
##1D511C1.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)
#534916
Deuteranopia (green-blind)
#4C4520
Tritanopia (blue-blind)
#144F46
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d511c;
/* rgb */ color: rgb(29, 81, 28);
/* oklch */ color: oklch(38.7% 0.100 143.0);
Tailwind
colors: {
  custom: {
    50: '#60825a',
    500: '#1d511c',
    950: '#000000',
  },
}
SCSS
$custom: #1d511c;
$custom-light: #60825a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d511c",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 28
  },
  "hsl": {
    "h": 118.868,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.38659,
    "c": 0.09999,
    "h": 143
  },
  "luminance": 0.0623
}

Semantic roles & 50–950 ramp

primary
#1D511C
secondary
#854287
accent
#50D8D6
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050A04
muted
#797C79

Preview Lab

Preview with #1D511C

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

Preview Lab → · Contrast checker → · Palette generator →

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