#21982D#21982D

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

Color values

HEX#21982D
RGBrgb(33, 152, 45)
HSLhsl(126, 64%, 36%)
HSVhsv(126, 78%, 60%)
CMYKcmyk(78.3%, 0%, 70.4%, 40.4%)
CIE-LABlab(55.04, -53.10, 45.27)
CIE-LCHlch(55.04, 69.78, 139.55°)
OKLaboklab(59.49% -0.1436 0.1038)
OKLCHoklch(59.49% 0.177 144.1)
XYZxyz(12.3283, 22.9678, 6.2656)
Luminance0.2297 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21982D #98218C
analogous
#519821 #21982D #219869
triadic
#21982D #2D2198 #982D21
tetradic
#21982D #215198 #98218C #986921
square
#21982D #215198 #98218C #986921
split-complementary
#21982D #692198 #982151
monochromatic
#0B330F #16661E #21982D #2CCA3C #59DB66

Accessibility & contrast

On white

3.75
#21982D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##21982D#FFFFFF#000000##000000
##21982D1.003.755.595.59
#FFFFFF3.751.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: #21982d;
/* rgb */ color: rgb(33, 152, 45);
/* oklch */ color: oklch(59.5% 0.177 144.1);
Tailwind
colors: {
  custom: {
    50: '#72b76c',
    500: '#21982d',
    950: '#000000',
  },
}
SCSS
$custom: #21982d;
$custom-light: #72b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#21982d",
  "rgb": {
    "r": 33,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 126.05,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59494,
    "c": 0.17717,
    "h": 144.1
  },
  "luminance": 0.22969
}

Semantic roles & 50–950 ramp

primary
#21982D
secondary
#BF56B4
accent
#40D6E7
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #21982D

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

Preview Lab → · Contrast checker → · Palette generator →

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