#21972D#21972D

#21972D is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.2% C 0.176 H 144.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#21972D
RGBrgb(33, 151, 45)
HSLhsl(126, 64%, 36%)
HSVhsv(126, 78%, 59%)
CMYKcmyk(78.1%, 0%, 70.2%, 40.8%)
CIE-LABlab(54.70, -52.77, 44.91)
CIE-LCHlch(54.70, 69.30, 139.60°)
OKLaboklab(59.22% -0.1427 0.103)
OKLCHoklch(59.22% 0.176 144.2)
XYZxyz(12.1666, 22.6446, 6.2117)
Luminance0.2265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21972D #97218B
analogous
#509721 #21972D #219768
triadic
#21972D #2D2197 #972D21
tetradic
#21972D #215097 #97218B #976821
square
#21972D #215097 #97218B #976821
split-complementary
#21972D #682197 #972150
monochromatic
#0B330F #16651E #21972D #2CC93C #58DA65

Accessibility & contrast

On white

3.80
#21972D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#21972D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21972D
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21972D#FFFFFF#000000##000000
##21972D1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A881E
Deuteranopia (green-blind)
#8D7F37
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #21972d;
/* rgb */ color: rgb(33, 151, 45);
/* oklch */ color: oklch(59.2% 0.176 144.2);
Tailwind
colors: {
  custom: {
    50: '#71b76c',
    500: '#21972d',
    950: '#000000',
  },
}
SCSS
$custom: #21972d;
$custom-light: #71b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#21972d",
  "rgb": {
    "r": 33,
    "g": 151,
    "b": 45
  },
  "hsl": {
    "h": 126.102,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59216,
    "c": 0.176,
    "h": 144.2
  },
  "luminance": 0.22646
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21972D

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

Preview Lab → · Contrast checker → · Palette generator →

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