#20873F#20873F

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

Color values

HEX#20873F
RGBrgb(32, 135, 63)
HSLhsl(138, 62%, 33%)
HSVhsv(138, 76%, 53%)
CMYKcmyk(76.3%, 0%, 53.3%, 47.1%)
CIE-LABlab(49.49, -45.01, 30.42)
CIE-LCHlch(49.49, 54.32, 145.95°)
OKLaboklab(54.95% -0.121 0.0734)
OKLCHoklch(54.95% 0.142 148.8)
XYZxyz(10.1560, 17.9927, 7.6394)
Luminance0.1799 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20873F #872068
analogous
#358720 #20873F #208772
triadic
#20873F #3F2087 #873F20
tetradic
#20873F #203587 #872068 #877220
square
#20873F #203587 #872068 #877220
split-complementary
#20873F #722087 #872035
monochromatic
#092411 #145628 #20873F #2CB856 #4DD576

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20873F#FFFFFF#000000##000000
##20873F1.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)
#887B39
Deuteranopia (green-blind)
#7C7244
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #20873f;
/* rgb */ color: rgb(32, 135, 63);
/* oklch */ color: oklch(54.9% 0.142 148.8);
Tailwind
colors: {
  custom: {
    50: '#6cab76',
    500: '#20873f',
    950: '#000000',
  },
}
SCSS
$custom: #20873f;
$custom-light: #6cab76;
$custom-dark: #000000;
JSON
{
  "hex": "#20873f",
  "rgb": {
    "r": 32,
    "g": 135,
    "b": 63
  },
  "hsl": {
    "h": 138.058,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54946,
    "c": 0.14157,
    "h": 148.8
  },
  "luminance": 0.17994
}

Semantic roles & 50–950 ramp

primary
#20873F
secondary
#B84B97
accent
#43B4E5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #20873F

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

Preview Lab → · Contrast checker → · Palette generator →

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