#20873D#20873D

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

Color values

HEX#20873D
RGBrgb(32, 135, 61)
HSLhsl(137, 62%, 33%)
HSVhsv(137, 76%, 53%)
CMYKcmyk(76.3%, 0%, 54.8%, 47.1%)
CIE-LABlab(49.46, -45.32, 31.43)
CIE-LCHlch(49.46, 55.15, 145.26°)
OKLaboklab(54.92% -0.1219 0.0756)
OKLCHoklch(54.92% 0.143 148.2)
XYZxyz(10.1012, 17.9708, 7.3503)
Luminance0.1797 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20873D #87206A
analogous
#378720 #20873D #208770
triadic
#20873D #3D2087 #873D20
tetradic
#20873D #203787 #87206A #877020
square
#20873D #203787 #87206A #877020
split-complementary
#20873D #702087 #872037
monochromatic
#092410 #145627 #20873D #2CB853 #4DD573

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20873D#FFFFFF#000000##000000
##20873D1.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)
#887B36
Deuteranopia (green-blind)
#7C7243
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #20873d;
/* rgb */ color: rgb(32, 135, 61);
/* oklch */ color: oklch(54.9% 0.143 148.2);
Tailwind
colors: {
  custom: {
    50: '#6cab74',
    500: '#20873d',
    950: '#000000',
  },
}
SCSS
$custom: #20873d;
$custom-light: #6cab74;
$custom-dark: #000000;
JSON
{
  "hex": "#20873d",
  "rgb": {
    "r": 32,
    "g": 135,
    "b": 61
  },
  "hsl": {
    "h": 136.893,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54915,
    "c": 0.14342,
    "h": 148.2
  },
  "luminance": 0.17972
}

Semantic roles & 50–950 ramp

primary
#20873D
secondary
#B84B99
accent
#43B7E5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #20873D

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

Preview Lab → · Contrast checker → · Palette generator →

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