#21982F#21982F

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

Color values

HEX#21982F
RGBrgb(33, 152, 47)
HSLhsl(127, 64%, 36%)
HSVhsv(127, 78%, 60%)
CMYKcmyk(78.3%, 0%, 69.1%, 40.4%)
CIE-LABlab(55.06, -52.90, 44.45)
CIE-LCHlch(55.06, 69.10, 139.96°)
OKLaboklab(59.51% -0.143 0.1023)
OKLCHoklch(59.51% 0.176 144.4)
XYZxyz(12.3677, 22.9836, 6.4732)
Luminance0.2298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21982F #98218A
analogous
#4F9821 #21982F #21986B
triadic
#21982F #2F2198 #982F21
tetradic
#21982F #214F98 #98218A #986B21
square
#21982F #214F98 #98218A #986B21
split-complementary
#21982F #6B2198 #98214F
monochromatic
#0B3310 #16661F #21982F #2CCA3F #59DB68

Accessibility & contrast

On white

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

On black

5.60
#21982F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21982F
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21982F#FFFFFF#000000##000000
##21982F1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21982f;
/* rgb */ color: rgb(33, 152, 47);
/* oklch */ color: oklch(59.5% 0.176 144.4);
Tailwind
colors: {
  custom: {
    50: '#72b76d',
    500: '#21982f',
    950: '#000000',
  },
}
SCSS
$custom: #21982f;
$custom-light: #72b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#21982f",
  "rgb": {
    "r": 33,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 127.059,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59513,
    "c": 0.1758,
    "h": 144.4
  },
  "luminance": 0.22985
}

Semantic roles & 50–950 ramp

primary
#21982F
secondary
#BF56B3
accent
#40D4E7
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #21982F

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

Preview Lab → · Contrast checker → · Palette generator →

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