#20873A#20873A

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

Color values

HEX#20873A
RGBrgb(32, 135, 58)
HSLhsl(135, 62%, 33%)
HSVhsv(135, 76%, 53%)
CMYKcmyk(76.3%, 0%, 57%, 47.1%)
CIE-LABlab(49.42, -45.77, 32.92)
CIE-LCHlch(49.42, 56.38, 144.28°)
OKLaboklab(54.87% -0.1232 0.0786)
OKLCHoklch(54.87% 0.146 147.5)
XYZxyz(10.0226, 17.9394, 6.9366)
Luminance0.1794 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20873A #87206D
analogous
#398720 #20873A #20876E
triadic
#20873A #3A2087 #873A20
tetradic
#20873A #203987 #87206D #876E20
square
#20873A #203987 #87206D #876E20
split-complementary
#20873A #6E2087 #872039
monochromatic
#09240F #145625 #20873A #2CB84F #4DD56F

Accessibility & contrast

On white

4.58
#20873A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##20873A#FFFFFF#000000##000000
##20873A1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B33
Deuteranopia (green-blind)
#7D7240
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #20873a;
/* rgb */ color: rgb(32, 135, 58);
/* oklch */ color: oklch(54.9% 0.146 147.5);
Tailwind
colors: {
  custom: {
    50: '#6dab72',
    500: '#20873a',
    950: '#000000',
  },
}
SCSS
$custom: #20873a;
$custom-light: #6dab72;
$custom-dark: #000000;
JSON
{
  "hex": "#20873a",
  "rgb": {
    "r": 32,
    "g": 135,
    "b": 58
  },
  "hsl": {
    "h": 135.146,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54871,
    "c": 0.14615,
    "h": 147.5
  },
  "luminance": 0.17941
}

Semantic roles & 50–950 ramp

primary
#20873A
secondary
#B84B9C
accent
#43BCE5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #20873A

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

Preview Lab → · Contrast checker → · Palette generator →

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