#20982D#20982D

#20982D is a mid, vivid green. Relative luminance 0.230; OKLCH L 59.5% C 0.177 H 144.2°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#20982D
RGBrgb(32, 152, 45)
HSLhsl(127, 65%, 36%)
HSVhsv(127, 79%, 60%)
CMYKcmyk(78.9%, 0%, 70.4%, 40.4%)
CIE-LABlab(55.02, -53.25, 45.24)
CIE-LCHlch(55.02, 69.87, 139.65°)
OKLaboklab(59.48% -0.1439 0.1037)
OKLCHoklch(59.48% 0.177 144.2)
XYZxyz(12.2967, 22.9515, 6.2641)
Luminance0.2295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20982D #98208B
analogous
#4F9820 #20982D #209869
triadic
#20982D #2D2098 #982D20
tetradic
#20982D #204F98 #98208B #986920
square
#20982D #204F98 #98208B #986920
split-complementary
#20982D #692098 #98204F
monochromatic
#0B330F #15651E #20982D #2BCB3C #57DC65

Accessibility & contrast

On white

3.76
#20982D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#20982D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20982D
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20982D#FFFFFF#000000##000000
##20982D1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891D
Deuteranopia (green-blind)
#8E8037
Tritanopia (blue-blind)
#009483
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #20982d;
/* rgb */ color: rgb(32, 152, 45);
/* oklch */ color: oklch(59.5% 0.177 144.2);
Tailwind
colors: {
  custom: {
    50: '#71b76c',
    500: '#20982d',
    950: '#000000',
  },
}
SCSS
$custom: #20982d;
$custom-light: #71b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#20982d",
  "rgb": {
    "r": 32,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 126.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59476,
    "c": 0.17743,
    "h": 144.2
  },
  "luminance": 0.22953
}

Semantic roles & 50–950 ramp

primary
#20982D
secondary
#BF54B4
accent
#40D6E8
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #20982D

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

Preview Lab → · Contrast checker → · Palette generator →

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