#20982A#20982A

#20982A is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.4% C 0.179 H 143.8°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#20982A
RGBrgb(32, 152, 42)
HSLhsl(125, 65%, 36%)
HSVhsv(125, 79%, 60%)
CMYKcmyk(78.9%, 0%, 72.4%, 40.4%)
CIE-LABlab(55.00, -53.53, 46.43)
CIE-LCHlch(55.00, 70.86, 139.06°)
OKLaboklab(59.45% -0.1448 0.1059)
OKLCHoklch(59.45% 0.179 143.8)
XYZxyz(12.2410, 22.9293, 5.9707)
Luminance0.2293 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20982A #98208E
analogous
#529820 #20982A #209866
triadic
#20982A #2A2098 #982A20
tetradic
#20982A #205298 #98208E #986620
square
#20982A #205298 #98208E #986620
split-complementary
#20982A #662098 #982052
monochromatic
#0B330E #15651C #20982A #2BCB38 #57DC62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20982A#FFFFFF#000000##000000
##20982A1.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)
#9B8918
Deuteranopia (green-blind)
#8E8035
Tritanopia (blue-blind)
#009482
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #20982a;
/* rgb */ color: rgb(32, 152, 42);
/* oklch */ color: oklch(59.4% 0.179 143.8);
Tailwind
colors: {
  custom: {
    50: '#72b76a',
    500: '#20982a',
    950: '#000000',
  },
}
SCSS
$custom: #20982a;
$custom-light: #72b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#20982a",
  "rgb": {
    "r": 32,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 125,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59449,
    "c": 0.1794,
    "h": 143.8
  },
  "luminance": 0.22931
}

Semantic roles & 50–950 ramp

primary
#20982A
secondary
#BF54B6
accent
#40DAE8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #20982A

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

Preview Lab → · Contrast checker → · Palette generator →

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