#20872F#20872F

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

Color values

HEX#20872F
RGBrgb(32, 135, 47)
HSLhsl(129, 62%, 33%)
HSVhsv(129, 76%, 53%)
CMYKcmyk(76.3%, 0%, 65.2%, 47.1%)
CIE-LABlab(49.30, -47.23, 38.13)
CIE-LCHlch(49.30, 60.70, 141.08°)
OKLaboklab(54.73% -0.1275 0.0889)
OKLCHoklch(54.73% 0.155 145.1)
XYZxyz(9.7721, 17.8391, 5.6171)
Luminance0.1784 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20872F #872078
analogous
#448720 #20872F #208763
triadic
#20872F #2F2087 #872F20
tetradic
#20872F #204487 #872078 #876320
square
#20872F #204487 #872078 #876320
split-complementary
#20872F #632087 #872044
monochromatic
#09240D #14561E #20872F #2CB840 #4DD560

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20872F#FFFFFF#000000##FFFFFF
##20872F1.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)
#897A25
Deuteranopia (green-blind)
#7E7237
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #20872f;
/* rgb */ color: rgb(32, 135, 47);
/* oklch */ color: oklch(54.7% 0.155 145.1);
Tailwind
colors: {
  custom: {
    50: '#6dab6b',
    500: '#20872f',
    950: '#000000',
  },
}
SCSS
$custom: #20872f;
$custom-light: #6dab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#20872f",
  "rgb": {
    "r": 32,
    "g": 135,
    "b": 47
  },
  "hsl": {
    "h": 128.738,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54731,
    "c": 0.15546,
    "h": 145.1
  },
  "luminance": 0.1784
}

Semantic roles & 50–950 ramp

primary
#20872F
secondary
#B84BA8
accent
#43CDE5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #20872F

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

Preview Lab → · Contrast checker → · Palette generator →

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