#1D571B#1D571B

#1D571B is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.5% C 0.110 H 142.7°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#1D571B
RGBrgb(29, 87, 27)
HSLhsl(118, 53%, 22%)
HSVhsv(118, 69%, 34%)
CMYKcmyk(66.7%, 0%, 69%, 65.9%)
CIE-LABlab(32.16, -32.05, 28.55)
CIE-LCHlch(32.16, 42.93, 138.31°)
OKLaboklab(40.45% -0.0872 0.0664)
OKLCHoklch(40.45% 0.11 142.7)
XYZxyz(4.1125, 7.1563, 2.2013)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D571B #551B57
analogous
#3B571B #1D571B #1B5737
triadic
#1D571B #1B1D57 #571B1D
tetradic
#1D571B #1B3B57 #551B57 #57371B
square
#1D571B #1B3B57 #551B57 #57371B
split-complementary
#1D571B #371B57 #571B3B
monochromatic
#081707 #0D280D #1D571B #2D8629 #3CB438

Accessibility & contrast

On white

8.64
#1D571B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1D571B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D571B
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D571B#FFFFFF#000000##FFFFFF
##1D571B1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F14
Deuteranopia (green-blind)
#524A20
Tritanopia (blue-blind)
#12544A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d571b;
/* rgb */ color: rgb(29, 87, 27);
/* oklch */ color: oklch(40.5% 0.110 142.7);
Tailwind
colors: {
  custom: {
    50: '#61875a',
    500: '#1d571b',
    950: '#000000',
  },
}
SCSS
$custom: #1d571b;
$custom-light: #61875a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d571b",
  "rgb": {
    "r": 29,
    "g": 87,
    "b": 27
  },
  "hsl": {
    "h": 118,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.40451,
    "c": 0.10956,
    "h": 142.7
  },
  "luminance": 0.07157
}

Semantic roles & 50–950 ramp

primary
#1D571B
secondary
#8A418D
accent
#4CDCD7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #1D571B

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

Preview Lab → · Contrast checker → · Palette generator →

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