#1D571F#1D571F

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

Color values

HEX#1D571F
RGBrgb(29, 87, 31)
HSLhsl(122, 50%, 23%)
HSVhsv(122, 67%, 34%)
CMYKcmyk(66.7%, 0%, 64.4%, 65.9%)
CIE-LABlab(32.20, -31.54, 26.56)
CIE-LCHlch(32.20, 41.23, 139.91°)
OKLaboklab(40.5% -0.0856 0.0625)
OKLCHoklch(40.5% 0.106 143.8)
XYZxyz(4.1620, 7.1761, 2.4619)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D571F #571D55
analogous
#38571D #1D571F #1D573C
triadic
#1D571F #1F1D57 #571F1D
tetradic
#1D571F #1D3857 #571D55 #573C1D
square
#1D571F #1D3857 #571D55 #573C1D
split-complementary
#1D571F #3C1D57 #571D38
monochromatic
#081708 #0E290F #1D571F #2C852F #3CB340

Accessibility & contrast

On white

8.62
#1D571F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1D571F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D571F
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D571F#FFFFFF#000000##FFFFFF
##1D571F1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F19
Deuteranopia (green-blind)
#524A24
Tritanopia (blue-blind)
#11554B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d571f;
/* rgb */ color: rgb(29, 87, 31);
/* oklch */ color: oklch(40.5% 0.106 143.8);
Tailwind
colors: {
  custom: {
    50: '#61875d',
    500: '#1d571f',
    950: '#000000',
  },
}
SCSS
$custom: #1d571f;
$custom-light: #61875d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d571f",
  "rgb": {
    "r": 29,
    "g": 87,
    "b": 31
  },
  "hsl": {
    "h": 122.069,
    "s": 50,
    "l": 22.745
  },
  "oklch": {
    "l": 0.40502,
    "c": 0.10599,
    "h": 143.8
  },
  "luminance": 0.07177
}

Semantic roles & 50–950 ramp

primary
#1D571F
secondary
#8C448A
accent
#4ED5DA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #1D571F

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

Preview Lab → · Contrast checker → · Palette generator →

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