#20873B#20873B

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

Color values

HEX#20873B
RGBrgb(32, 135, 59)
HSLhsl(136, 62%, 33%)
HSVhsv(136, 76%, 53%)
CMYKcmyk(76.3%, 0%, 56.3%, 47.1%)
CIE-LABlab(49.43, -45.63, 32.43)
CIE-LCHlch(49.43, 55.97, 144.60°)
OKLaboklab(54.89% -0.1228 0.0776)
OKLCHoklch(54.89% 0.145 147.7)
XYZxyz(10.0483, 17.9496, 7.0719)
Luminance0.1795 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20873B #87206C
analogous
#388720 #20873B #20876E
triadic
#20873B #3B2087 #873B20
tetradic
#20873B #203887 #87206C #876E20
square
#20873B #203887 #87206C #876E20
split-complementary
#20873B #6E2087 #872038
monochromatic
#092410 #145625 #20873B #2CB851 #4DD570

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20873B#FFFFFF#000000##000000
##20873B1.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)
#897B34
Deuteranopia (green-blind)
#7D7241
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #20873b;
/* rgb */ color: rgb(32, 135, 59);
/* oklch */ color: oklch(54.9% 0.145 147.7);
Tailwind
colors: {
  custom: {
    50: '#6cab73',
    500: '#20873b',
    950: '#000000',
  },
}
SCSS
$custom: #20873b;
$custom-light: #6cab73;
$custom-dark: #000000;
JSON
{
  "hex": "#20873b",
  "rgb": {
    "r": 32,
    "g": 135,
    "b": 59
  },
  "hsl": {
    "h": 135.728,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54886,
    "c": 0.14525,
    "h": 147.7
  },
  "luminance": 0.17951
}

Semantic roles & 50–950 ramp

primary
#20873B
secondary
#B84B9B
accent
#43BAE5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #20873B

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

Preview Lab → · Contrast checker → · Palette generator →

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