#21982C#21982C

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

Color values

HEX#21982C
RGBrgb(33, 152, 44)
HSLhsl(126, 64%, 36%)
HSVhsv(126, 78%, 60%)
CMYKcmyk(78.3%, 0%, 71.1%, 40.4%)
CIE-LABlab(55.03, -53.20, 45.67)
CIE-LCHlch(55.03, 70.11, 139.36°)
OKLaboklab(59.49% -0.1439 0.1045)
OKLCHoklch(59.49% 0.178 144)
XYZxyz(12.3092, 22.9602, 6.1654)
Luminance0.2296 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21982C #98218D
analogous
#529821 #21982C #219868
triadic
#21982C #2C2198 #982C21
tetradic
#21982C #215298 #98218D #986821
square
#21982C #215298 #98218D #986821
split-complementary
#21982C #682198 #982152
monochromatic
#0B330F #16661D #21982C #2CCA3B #59DB65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21982C#FFFFFF#000000##000000
##21982C1.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)
#9B891C
Deuteranopia (green-blind)
#8E8037
Tritanopia (blue-blind)
#009482
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #21982c;
/* rgb */ color: rgb(33, 152, 44);
/* oklch */ color: oklch(59.5% 0.178 144.0);
Tailwind
colors: {
  custom: {
    50: '#72b76b',
    500: '#21982c',
    950: '#000000',
  },
}
SCSS
$custom: #21982c;
$custom-light: #72b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#21982c",
  "rgb": {
    "r": 33,
    "g": 152,
    "b": 44
  },
  "hsl": {
    "h": 125.546,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59485,
    "c": 0.17784,
    "h": 144
  },
  "luminance": 0.22962
}

Semantic roles & 50–950 ramp

primary
#21982C
secondary
#BF56B5
accent
#40D8E7
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #21982C

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

Preview Lab → · Contrast checker → · Palette generator →

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