#1D511B#1D511B

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

Color values

HEX#1D511B
RGBrgb(29, 81, 27)
HSLhsl(118, 50%, 21%)
HSVhsv(118, 67%, 32%)
CMYKcmyk(64.2%, 0%, 66.7%, 68.2%)
CIE-LABlab(29.97, -29.52, 26.09)
CIE-LCHlch(29.97, 39.40, 138.53°)
OKLaboklab(38.65% -0.0803 0.0611)
OKLCHoklch(38.65% 0.101 142.7)
XYZxyz(3.6468, 6.2249, 2.0460)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D511B #4F1B51
analogous
#38511B #1D511B #1B5134
triadic
#1D511B #1B1D51 #511B1D
tetradic
#1D511B #1B3851 #4F1B51 #51341B
square
#1D511B #1B3851 #4F1B51 #51341B
split-complementary
#1D511B #341B51 #511B38
monochromatic
#081708 #0D230C #1D511B #2D7F2A #3EAD3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D511B#FFFFFF#000000##FFFFFF
##1D511B1.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)
#534915
Deuteranopia (green-blind)
#4C451F
Tritanopia (blue-blind)
#144F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d511b;
/* rgb */ color: rgb(29, 81, 27);
/* oklch */ color: oklch(38.6% 0.101 142.7);
Tailwind
colors: {
  custom: {
    50: '#60825a',
    500: '#1d511b',
    950: '#000000',
  },
}
SCSS
$custom: #1d511b;
$custom-light: #60825a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d511b",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 27
  },
  "hsl": {
    "h": 117.778,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.38645,
    "c": 0.10093,
    "h": 142.7
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#1D511B
secondary
#844187
accent
#4EDAD4
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050A04
muted
#797C79

Preview Lab

Preview with #1D511B

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

Preview Lab → · Contrast checker → · Palette generator →

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