#20872C#20872C

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

Color values

HEX#20872C
RGBrgb(32, 135, 44)
HSLhsl(127, 62%, 33%)
HSVhsv(127, 76%, 53%)
CMYKcmyk(76.3%, 0%, 67.4%, 47.1%)
CIE-LABlab(49.27, -47.58, 39.47)
CIE-LCHlch(49.27, 61.82, 140.32°)
OKLaboklab(54.7% -0.1286 0.0915)
OKLCHoklch(54.7% 0.158 144.6)
XYZxyz(9.7136, 17.8158, 5.3092)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20872C #87207B
analogous
#488720 #20872C #20875F
triadic
#20872C #2C2087 #872C20
tetradic
#20872C #204887 #87207B #875F20
square
#20872C #204887 #87207B #875F20
split-complementary
#20872C #5F2087 #872048
monochromatic
#09240C #14561C #20872C #2CB83C #4DD55D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20872C#FFFFFF#000000##FFFFFF
##20872C1.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)
#897A20
Deuteranopia (green-blind)
#7E7234
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #20872c;
/* rgb */ color: rgb(32, 135, 44);
/* oklch */ color: oklch(54.7% 0.158 144.6);
Tailwind
colors: {
  custom: {
    50: '#6dab69',
    500: '#20872c',
    950: '#000000',
  },
}
SCSS
$custom: #20872c;
$custom-light: #6dab69;
$custom-dark: #000000;
JSON
{
  "hex": "#20872c",
  "rgb": {
    "r": 32,
    "g": 135,
    "b": 44
  },
  "hsl": {
    "h": 126.99,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54698,
    "c": 0.15778,
    "h": 144.6
  },
  "luminance": 0.17817
}

Semantic roles & 50–950 ramp

primary
#20872C
secondary
#B84BAB
accent
#43D2E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #20872C

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

Preview Lab → · Contrast checker → · Palette generator →

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