#20571F#20571F

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

Color values

HEX#20571F
RGBrgb(32, 87, 31)
HSLhsl(119, 47%, 23%)
HSVhsv(119, 64%, 34%)
CMYKcmyk(63.2%, 0%, 64.4%, 65.9%)
CIE-LABlab(32.31, -30.74, 26.70)
CIE-LCHlch(32.31, 40.72, 139.02°)
OKLaboklab(40.62% -0.0836 0.0628)
OKLCHoklch(40.62% 0.105 143.1)
XYZxyz(4.2509, 7.2220, 2.4660)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20571F #561F57
analogous
#3C571F #20571F #1F573A
triadic
#20571F #1F2057 #571F20
tetradic
#20571F #1F3C57 #561F57 #573A1F
square
#20571F #1F3C57 #561F57 #573A1F
split-complementary
#20571F #3A1F57 #571F3C
monochromatic
#081708 #0F2A0F #20571F #31842F #41B13F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #20571f;
/* rgb */ color: rgb(32, 87, 31);
/* oklch */ color: oklch(40.6% 0.105 143.1);
Tailwind
colors: {
  custom: {
    50: '#62875d',
    500: '#20571f',
    950: '#000000',
  },
}
SCSS
$custom: #20571f;
$custom-light: #62875d;
$custom-dark: #000000;
JSON
{
  "hex": "#20571f",
  "rgb": {
    "r": 32,
    "g": 87,
    "b": 31
  },
  "hsl": {
    "h": 118.929,
    "s": 47.458,
    "l": 23.137
  },
  "oklch": {
    "l": 0.40615,
    "c": 0.10455,
    "h": 143.1
  },
  "luminance": 0.07222
}

Semantic roles & 50–950 ramp

primary
#20571F
secondary
#8B468C
accent
#51D7D5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #20571F

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

Preview Lab → · Contrast checker → · Palette generator →

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