#21982E#21982E

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

Color values

HEX#21982E
RGBrgb(33, 152, 46)
HSLhsl(127, 64%, 36%)
HSVhsv(127, 78%, 60%)
CMYKcmyk(78.3%, 0%, 69.7%, 40.4%)
CIE-LABlab(55.05, -53.01, 44.86)
CIE-LCHlch(55.05, 69.44, 139.76°)
OKLaboklab(59.5% -0.1433 0.1031)
OKLCHoklch(59.5% 0.177 144.3)
XYZxyz(12.3477, 22.9756, 6.3682)
Luminance0.2298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21982E #98218B
analogous
#509821 #21982E #21986A
triadic
#21982E #2E2198 #982E21
tetradic
#21982E #215098 #98218B #986A21
square
#21982E #215098 #98218B #986A21
split-complementary
#21982E #6A2198 #982150
monochromatic
#0B3310 #16661F #21982E #2CCA3D #59DB67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21982E#FFFFFF#000000##000000
##21982E1.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)
#9B891F
Deuteranopia (green-blind)
#8E8038
Tritanopia (blue-blind)
#009483
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #21982e;
/* rgb */ color: rgb(33, 152, 46);
/* oklch */ color: oklch(59.5% 0.176 144.3);
Tailwind
colors: {
  custom: {
    50: '#72b76c',
    500: '#21982e',
    950: '#000000',
  },
}
SCSS
$custom: #21982e;
$custom-light: #72b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#21982e",
  "rgb": {
    "r": 33,
    "g": 152,
    "b": 46
  },
  "hsl": {
    "h": 126.555,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59504,
    "c": 0.1765,
    "h": 144.3
  },
  "luminance": 0.22977
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21982E

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

Preview Lab → · Contrast checker → · Palette generator →

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