#20571C#20571C

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

Color values

HEX#20571C
RGBrgb(32, 87, 28)
HSLhsl(116, 51%, 23%)
HSVhsv(116, 68%, 34%)
CMYKcmyk(63.2%, 0%, 67.8%, 65.9%)
CIE-LABlab(32.27, -31.12, 28.21)
CIE-LCHlch(32.27, 42.00, 137.81°)
OKLaboklab(40.58% -0.0848 0.0657)
OKLCHoklch(40.58% 0.107 142.2)
XYZxyz(4.2132, 7.2069, 2.2674)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20571C #531C57
analogous
#3E571C #20571C #1C5735
triadic
#20571C #1C2057 #571C20
tetradic
#20571C #1C3E57 #531C57 #57351C
square
#20571C #1C3E57 #531C57 #57351C
split-complementary
#20571C #351C57 #571C3E
monochromatic
#091707 #0F290D #20571C #31852B #42B43A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20571C#FFFFFF#000000##FFFFFF
##20571C1.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)
#594F15
Deuteranopia (green-blind)
#524A21
Tritanopia (blue-blind)
#17544B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #20571c;
/* rgb */ color: rgb(32, 87, 28);
/* oklch */ color: oklch(40.6% 0.107 142.2);
Tailwind
colors: {
  custom: {
    50: '#63875b',
    500: '#20571c',
    950: '#000000',
  },
}
SCSS
$custom: #20571c;
$custom-light: #63875b;
$custom-dark: #000000;
JSON
{
  "hex": "#20571c",
  "rgb": {
    "r": 32,
    "g": 87,
    "b": 28
  },
  "hsl": {
    "h": 115.932,
    "s": 51.304,
    "l": 22.549
  },
  "oklch": {
    "l": 0.40577,
    "c": 0.10727,
    "h": 142.2
  },
  "luminance": 0.07207
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20571C

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

Preview Lab → · Contrast checker → · Palette generator →

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