#20872E#20872E

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

Color values

HEX#20872E
RGBrgb(32, 135, 46)
HSLhsl(128, 62%, 33%)
HSVhsv(128, 76%, 53%)
CMYKcmyk(76.3%, 0%, 65.9%, 47.1%)
CIE-LABlab(49.29, -47.35, 38.58)
CIE-LCHlch(49.29, 61.08, 140.82°)
OKLaboklab(54.72% -0.1279 0.0898)
OKLCHoklch(54.72% 0.156 144.9)
XYZxyz(9.7521, 17.8312, 5.5120)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20872E #872079
analogous
#468720 #20872E #208761
triadic
#20872E #2E2087 #872E20
tetradic
#20872E #204687 #872079 #876120
square
#20872E #204687 #872079 #876120
split-complementary
#20872E #612087 #872046
monochromatic
#09240C #14561D #20872E #2CB83F #4DD55F

Accessibility & contrast

On white

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

On black

4.57
#20872E on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##20872E#FFFFFF#000000##FFFFFF
##20872E1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20872e;
/* rgb */ color: rgb(32, 135, 46);
/* oklch */ color: oklch(54.7% 0.156 144.9);
Tailwind
colors: {
  custom: {
    50: '#6dab6b',
    500: '#20872e',
    950: '#000000',
  },
}
SCSS
$custom: #20872e;
$custom-light: #6dab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#20872e",
  "rgb": {
    "r": 32,
    "g": 135,
    "b": 46
  },
  "hsl": {
    "h": 128.155,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54719,
    "c": 0.15625,
    "h": 144.9
  },
  "luminance": 0.17832
}

Semantic roles & 50–950 ramp

primary
#20872E
secondary
#B84BA9
accent
#43CFE5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #20872E

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

Preview Lab → · Contrast checker → · Palette generator →

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