#20872D#20872D

#20872D is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.157 H 144.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#20872D
RGBrgb(32, 135, 45)
HSLhsl(128, 62%, 33%)
HSVhsv(128, 76%, 53%)
CMYKcmyk(76.3%, 0%, 66.7%, 47.1%)
CIE-LABlab(49.28, -47.46, 39.03)
CIE-LCHlch(49.28, 61.45, 140.57°)
OKLaboklab(54.71% -0.1282 0.0906)
OKLCHoklch(54.71% 0.157 144.7)
XYZxyz(9.7326, 17.8234, 5.4094)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20872D #87207A
analogous
#468720 #20872D #208761
triadic
#20872D #2D2087 #872D20
tetradic
#20872D #204687 #87207A #876120
square
#20872D #204687 #87207A #876120
split-complementary
#20872D #612087 #872046
monochromatic
#09240C #14561D #20872D #2CB83D #4DD55E

Accessibility & contrast

On white

4.60
#20872D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#20872D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #20872D
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20872D#FFFFFF#000000##FFFFFF
##20872D1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A22
Deuteranopia (green-blind)
#7E7235
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #20872d;
/* rgb */ color: rgb(32, 135, 45);
/* oklch */ color: oklch(54.7% 0.157 144.7);
Tailwind
colors: {
  custom: {
    50: '#6dab6a',
    500: '#20872d',
    950: '#000000',
  },
}
SCSS
$custom: #20872d;
$custom-light: #6dab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#20872d",
  "rgb": {
    "r": 32,
    "g": 135,
    "b": 45
  },
  "hsl": {
    "h": 127.573,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54708,
    "c": 0.15702,
    "h": 144.7
  },
  "luminance": 0.17824
}

Semantic roles & 50–950 ramp

primary
#20872D
secondary
#B84BAA
accent
#43D0E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #20872D

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

Preview Lab → · Contrast checker → · Palette generator →

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