#20571E#20571E

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

Color values

HEX#20571E
RGBrgb(32, 87, 30)
HSLhsl(118, 49%, 23%)
HSVhsv(118, 66%, 34%)
CMYKcmyk(63.2%, 0%, 65.5%, 65.9%)
CIE-LABlab(32.30, -30.87, 27.21)
CIE-LCHlch(32.30, 41.15, 138.61°)
OKLaboklab(40.6% -0.084 0.0638)
OKLCHoklch(40.6% 0.105 142.8)
XYZxyz(4.2380, 7.2168, 2.3977)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20571E #551E57
analogous
#3C571E #20571E #1E5738
triadic
#20571E #1E2057 #571E20
tetradic
#20571E #1E3C57 #551E57 #57381E
square
#20571E #1E3C57 #551E57 #57381E
split-complementary
#20571E #381E57 #571E3C
monochromatic
#081708 #0F290E #20571E #31852E #41B23D

Accessibility & contrast

On white

8.59
#20571E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20571E
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20571E#FFFFFF#000000##FFFFFF
##20571E1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20571e;
/* rgb */ color: rgb(32, 87, 30);
/* oklch */ color: oklch(40.6% 0.105 142.8);
Tailwind
colors: {
  custom: {
    50: '#62875c',
    500: '#20571e',
    950: '#000000',
  },
}
SCSS
$custom: #20571e;
$custom-light: #62875c;
$custom-dark: #000000;
JSON
{
  "hex": "#20571e",
  "rgb": {
    "r": 32,
    "g": 87,
    "b": 30
  },
  "hsl": {
    "h": 117.895,
    "s": 48.718,
    "l": 22.941
  },
  "oklch": {
    "l": 0.40602,
    "c": 0.10548,
    "h": 142.8
  },
  "luminance": 0.07217
}

Semantic roles & 50–950 ramp

primary
#20571E
secondary
#8A458C
accent
#50D8D3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #20571E

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

Preview Lab → · Contrast checker → · Palette generator →

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