#20882B#20882B

#20882B is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.0% C 0.160 H 144.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#20882B
RGBrgb(32, 136, 43)
HSLhsl(126, 62%, 33%)
HSVhsv(126, 76%, 53%)
CMYKcmyk(76.5%, 0%, 68.4%, 46.7%)
CIE-LABlab(49.60, -48.03, 40.28)
CIE-LCHlch(49.60, 62.69, 140.02°)
OKLaboklab(54.97% -0.1299 0.093)
OKLCHoklch(54.97% 0.16 144.4)
XYZxyz(9.8352, 18.0887, 5.2582)
Luminance0.1809 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20882B #88207D
analogous
#498820 #20882B #20885F
triadic
#20882B #2B2088 #882B20
tetradic
#20882B #204988 #88207D #885F20
square
#20882B #204988 #88207D #885F20
split-complementary
#20882B #5F2088 #882049
monochromatic
#09250C #14561B #20882B #2CBA3B #4DD55C

Accessibility & contrast

On white

4.55
#20882B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#20882B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20882B
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20882B#FFFFFF#000000##000000
##20882B1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1F
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #20882b;
/* rgb */ color: rgb(32, 136, 43);
/* oklch */ color: oklch(55.0% 0.160 144.4);
Tailwind
colors: {
  custom: {
    50: '#6dac69',
    500: '#20882b',
    950: '#000000',
  },
}
SCSS
$custom: #20882b;
$custom-light: #6dac69;
$custom-dark: #000000;
JSON
{
  "hex": "#20882b",
  "rgb": {
    "r": 32,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 126.346,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5497,
    "c": 0.15976,
    "h": 144.4
  },
  "luminance": 0.1809
}

Semantic roles & 50–950 ramp

primary
#20882B
secondary
#B84CAD
accent
#43D4E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #20882B

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

Preview Lab → · Contrast checker → · Palette generator →

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