#21962D#21962D

#21962D is a mid, vivid green. Relative luminance 0.223; OKLCH L 58.9% C 0.175 H 144.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#21962D
RGBrgb(33, 150, 45)
HSLhsl(126, 64%, 36%)
HSVhsv(126, 78%, 59%)
CMYKcmyk(78%, 0%, 70%, 41.2%)
CIE-LABlab(54.37, -52.44, 44.56)
CIE-LCHlch(54.37, 68.81, 139.65°)
OKLaboklab(58.94% -0.1418 0.1023)
OKLCHoklch(58.94% 0.175 144.2)
XYZxyz(12.0064, 22.3241, 6.1583)
Luminance0.2233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21962D #96218A
analogous
#4F9621 #21962D #219667
triadic
#21962D #2D2196 #962D21
tetradic
#21962D #214F96 #96218A #966721
square
#21962D #214F96 #96218A #966721
split-complementary
#21962D #672196 #96214F
monochromatic
#0B320F #16641E #21962D #2CC83C #57DA65

Accessibility & contrast

On white

3.84
#21962D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#21962D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21962D
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21962D#FFFFFF#000000##000000
##21962D1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#99871E
Deuteranopia (green-blind)
#8C7F37
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #21962d;
/* rgb */ color: rgb(33, 150, 45);
/* oklch */ color: oklch(58.9% 0.175 144.2);
Tailwind
colors: {
  custom: {
    50: '#71b66c',
    500: '#21962d',
    950: '#000000',
  },
}
SCSS
$custom: #21962d;
$custom-light: #71b66c;
$custom-dark: #000000;
JSON
{
  "hex": "#21962d",
  "rgb": {
    "r": 33,
    "g": 150,
    "b": 45
  },
  "hsl": {
    "h": 126.154,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58938,
    "c": 0.17483,
    "h": 144.2
  },
  "luminance": 0.22325
}

Semantic roles & 50–950 ramp

primary
#21962D
secondary
#BE55B3
accent
#41D6E7
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #21962D

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

Preview Lab → · Contrast checker → · Palette generator →

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