#21982B#21982B

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

Color values

HEX#21982B
RGBrgb(33, 152, 43)
HSLhsl(125, 64%, 36%)
HSVhsv(125, 78%, 60%)
CMYKcmyk(78.3%, 0%, 71.7%, 40.4%)
CIE-LABlab(55.02, -53.29, 46.06)
CIE-LCHlch(55.02, 70.44, 139.16°)
OKLaboklab(59.48% -0.1442 0.1052)
OKLCHoklch(59.48% 0.179 143.9)
XYZxyz(12.2907, 22.9528, 6.0676)
Luminance0.2295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21982B #98218E
analogous
#539821 #21982B #219867
triadic
#21982B #2B2198 #982B21
tetradic
#21982B #215398 #98218E #986721
square
#21982B #215398 #98218E #986721
split-complementary
#21982B #672198 #982153
monochromatic
#0B330F #16661D #21982B #2CCA39 #59DB63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21982B#FFFFFF#000000##000000
##21982B1.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)
#9B891A
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#009482
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #21982b;
/* rgb */ color: rgb(33, 152, 43);
/* oklch */ color: oklch(59.5% 0.178 143.9);
Tailwind
colors: {
  custom: {
    50: '#72b76b',
    500: '#21982b',
    950: '#000000',
  },
}
SCSS
$custom: #21982b;
$custom-light: #72b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#21982b",
  "rgb": {
    "r": 33,
    "g": 152,
    "b": 43
  },
  "hsl": {
    "h": 125.042,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59476,
    "c": 0.1785,
    "h": 143.9
  },
  "luminance": 0.22954
}

Semantic roles & 50–950 ramp

primary
#21982B
secondary
#BF56B6
accent
#40D9E7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #21982B

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

Preview Lab → · Contrast checker → · Palette generator →

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