#20872B#20872B

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

Color values

HEX#20872B
RGBrgb(32, 135, 43)
HSLhsl(126, 62%, 33%)
HSVhsv(126, 76%, 53%)
CMYKcmyk(76.3%, 0%, 68.1%, 47.1%)
CIE-LABlab(49.26, -47.69, 39.91)
CIE-LCHlch(49.26, 62.18, 140.08°)
OKLaboklab(54.69% -0.1289 0.0923)
OKLCHoklch(54.69% 0.159 144.4)
XYZxyz(9.6950, 17.8083, 5.2114)
Luminance0.1781 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20872B #87207C
analogous
#488720 #20872B #20875F
triadic
#20872B #2B2087 #872B20
tetradic
#20872B #204887 #87207C #875F20
square
#20872B #204887 #87207C #875F20
split-complementary
#20872B #5F2087 #872048
monochromatic
#09240B #14561B #20872B #2CB83B #4DD55B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20872B#FFFFFF#000000##FFFFFF
##20872B1.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)
#8A7A1F
Deuteranopia (green-blind)
#7E7233
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #20872b;
/* rgb */ color: rgb(32, 135, 43);
/* oklch */ color: oklch(54.7% 0.159 144.4);
Tailwind
colors: {
  custom: {
    50: '#6dab69',
    500: '#20872b',
    950: '#000000',
  },
}
SCSS
$custom: #20872b;
$custom-light: #6dab69;
$custom-dark: #000000;
JSON
{
  "hex": "#20872b",
  "rgb": {
    "r": 32,
    "g": 135,
    "b": 43
  },
  "hsl": {
    "h": 126.408,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54687,
    "c": 0.15854,
    "h": 144.4
  },
  "luminance": 0.17809
}

Semantic roles & 50–950 ramp

primary
#20872B
secondary
#B84BAC
accent
#43D3E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #20872B

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

Preview Lab → · Contrast checker → · Palette generator →

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