#21982A#21982A

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

Color values

HEX#21982A
RGBrgb(33, 152, 42)
HSLhsl(125, 64%, 36%)
HSVhsv(125, 78%, 60%)
CMYKcmyk(78.3%, 0%, 72.4%, 40.4%)
CIE-LABlab(55.02, -53.39, 46.45)
CIE-LCHlch(55.02, 70.77, 138.97°)
OKLaboklab(59.47% -0.1445 0.1059)
OKLCHoklch(59.47% 0.179 143.8)
XYZxyz(12.2725, 22.9455, 5.9722)
Luminance0.2295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21982A #98218F
analogous
#549821 #21982A #219866
triadic
#21982A #2A2198 #982A21
tetradic
#21982A #215498 #98218F #986621
square
#21982A #215498 #98218F #986621
split-complementary
#21982A #662198 #982154
monochromatic
#0B330E #16661C #21982A #2CCA38 #59DB62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21982A#FFFFFF#000000##000000
##21982A1.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: #21982a;
/* rgb */ color: rgb(33, 152, 42);
/* oklch */ color: oklch(59.5% 0.179 143.8);
Tailwind
colors: {
  custom: {
    50: '#72b76a',
    500: '#21982a',
    950: '#000000',
  },
}
SCSS
$custom: #21982a;
$custom-light: #72b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#21982a",
  "rgb": {
    "r": 33,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 124.538,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59468,
    "c": 0.17914,
    "h": 143.8
  },
  "luminance": 0.22947
}

Semantic roles & 50–950 ramp

primary
#21982A
secondary
#BF56B7
accent
#40DBE7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #21982A

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

Preview Lab → · Contrast checker → · Palette generator →

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