#20873C#20873C

#20873C is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.9% C 0.144 H 148.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#20873C
RGBrgb(32, 135, 60)
HSLhsl(136, 62%, 33%)
HSVhsv(136, 76%, 53%)
CMYKcmyk(76.3%, 0%, 55.6%, 47.1%)
CIE-LABlab(49.45, -45.47, 31.93)
CIE-LCHlch(49.45, 55.56, 144.93°)
OKLaboklab(54.9% -0.1223 0.0766)
OKLCHoklch(54.9% 0.144 148)
XYZxyz(10.0745, 17.9601, 7.2098)
Luminance0.1796 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20873C #87206B
analogous
#378720 #20873C #208770
triadic
#20873C #3C2087 #873C20
tetradic
#20873C #203787 #87206B #877020
square
#20873C #203787 #87206B #877020
split-complementary
#20873C #702087 #872037
monochromatic
#092410 #145626 #20873C #2CB852 #4DD572

Accessibility & contrast

On white

4.57
#20873C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#20873C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20873C
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20873C#FFFFFF#000000##000000
##20873C1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B35
Deuteranopia (green-blind)
#7D7242
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #20873c;
/* rgb */ color: rgb(32, 135, 60);
/* oklch */ color: oklch(54.9% 0.144 148.0);
Tailwind
colors: {
  custom: {
    50: '#6cab74',
    500: '#20873c',
    950: '#000000',
  },
}
SCSS
$custom: #20873c;
$custom-light: #6cab74;
$custom-dark: #000000;
JSON
{
  "hex": "#20873c",
  "rgb": {
    "r": 32,
    "g": 135,
    "b": 60
  },
  "hsl": {
    "h": 136.311,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.549,
    "c": 0.14434,
    "h": 148
  },
  "luminance": 0.17961
}

Semantic roles & 50–950 ramp

primary
#20873C
secondary
#B84B9A
accent
#43B9E5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #20873C

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

Preview Lab → · Contrast checker → · Palette generator →

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