#20571D#20571D

#20571D is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.6% C 0.106 H 142.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#20571D
RGBrgb(32, 87, 29)
HSLhsl(117, 50%, 23%)
HSVhsv(117, 67%, 34%)
CMYKcmyk(63.2%, 0%, 66.7%, 65.9%)
CIE-LABlab(32.28, -31.00, 27.71)
CIE-LCHlch(32.28, 41.58, 138.20°)
OKLaboklab(40.59% -0.0844 0.0648)
OKLCHoklch(40.59% 0.106 142.5)
XYZxyz(4.2254, 7.2118, 2.3315)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20571D #541D57
analogous
#3D571D #20571D #1D5737
triadic
#20571D #1D2057 #571D20
tetradic
#20571D #1D3D57 #541D57 #57371D
square
#20571D #1D3D57 #541D57 #57371D
split-complementary
#20571D #371D57 #571D3D
monochromatic
#081708 #0F290E #20571D #31852C #42B33C

Accessibility & contrast

On white

8.60
#20571D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#20571D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20571D
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20571D#FFFFFF#000000##FFFFFF
##20571D1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F16
Deuteranopia (green-blind)
#524A22
Tritanopia (blue-blind)
#17544B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #20571d;
/* rgb */ color: rgb(32, 87, 29);
/* oklch */ color: oklch(40.6% 0.106 142.5);
Tailwind
colors: {
  custom: {
    50: '#62875b',
    500: '#20571d',
    950: '#000000',
  },
}
SCSS
$custom: #20571d;
$custom-light: #62875b;
$custom-dark: #000000;
JSON
{
  "hex": "#20571d",
  "rgb": {
    "r": 32,
    "g": 87,
    "b": 29
  },
  "hsl": {
    "h": 116.897,
    "s": 50,
    "l": 22.745
  },
  "oklch": {
    "l": 0.40589,
    "c": 0.10639,
    "h": 142.5
  },
  "luminance": 0.07212
}

Semantic roles & 50–950 ramp

primary
#20571D
secondary
#89448C
accent
#4EDAD2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #20571D

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

Preview Lab → · Contrast checker → · Palette generator →

#20571D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva