#20873E#20873E

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

Color values

HEX#20873E
RGBrgb(32, 135, 62)
HSLhsl(137, 62%, 33%)
HSVhsv(137, 76%, 53%)
CMYKcmyk(76.3%, 0%, 54.1%, 47.1%)
CIE-LABlab(49.47, -45.17, 30.93)
CIE-LCHlch(49.47, 54.74, 145.60°)
OKLaboklab(54.93% -0.1215 0.0745)
OKLCHoklch(54.93% 0.143 148.5)
XYZxyz(10.1283, 17.9816, 7.4935)
Luminance0.1798 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20873E #872069
analogous
#358720 #20873E #208772
triadic
#20873E #3E2087 #873E20
tetradic
#20873E #203587 #872069 #877220
square
#20873E #203587 #872069 #877220
split-complementary
#20873E #722087 #872035
monochromatic
#092411 #145627 #20873E #2CB855 #4DD574

Accessibility & contrast

On white

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

On black

4.60
#20873E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20873E
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20873E#FFFFFF#000000##000000
##20873E1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20873e;
/* rgb */ color: rgb(32, 135, 62);
/* oklch */ color: oklch(54.9% 0.142 148.5);
Tailwind
colors: {
  custom: {
    50: '#6cab75',
    500: '#20873e',
    950: '#000000',
  },
}
SCSS
$custom: #20873e;
$custom-light: #6cab75;
$custom-dark: #000000;
JSON
{
  "hex": "#20873e",
  "rgb": {
    "r": 32,
    "g": 135,
    "b": 62
  },
  "hsl": {
    "h": 137.476,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5493,
    "c": 0.1425,
    "h": 148.5
  },
  "luminance": 0.17983
}

Semantic roles & 50–950 ramp

primary
#20873E
secondary
#B84B98
accent
#43B6E5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #20873E

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

Preview Lab → · Contrast checker → · Palette generator →

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