#21972E#21972E

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

Color values

HEX#21972E
RGBrgb(33, 151, 46)
HSLhsl(127, 64%, 36%)
HSVhsv(127, 78%, 59%)
CMYKcmyk(78.1%, 0%, 69.5%, 40.8%)
CIE-LABlab(54.71, -52.67, 44.50)
CIE-LCHlch(54.71, 68.96, 139.80°)
OKLaboklab(59.23% -0.1424 0.1023)
OKLCHoklch(59.23% 0.175 144.3)
XYZxyz(12.1861, 22.6524, 6.3143)
Luminance0.2265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21972E #97218A
analogous
#4F9721 #21972E #219769
triadic
#21972E #2E2197 #972E21
tetradic
#21972E #214F97 #97218A #976921
square
#21972E #214F97 #97218A #976921
split-complementary
#21972E #692197 #97214F
monochromatic
#0B330F #16651F #21972E #2CC93D #58DA66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21972E#FFFFFF#000000##000000
##21972E1.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)
#9A881F
Deuteranopia (green-blind)
#8D7F38
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #21972e;
/* rgb */ color: rgb(33, 151, 46);
/* oklch */ color: oklch(59.2% 0.175 144.3);
Tailwind
colors: {
  custom: {
    50: '#71b76c',
    500: '#21972e',
    950: '#000000',
  },
}
SCSS
$custom: #21972e;
$custom-light: #71b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#21972e",
  "rgb": {
    "r": 33,
    "g": 151,
    "b": 46
  },
  "hsl": {
    "h": 126.61,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59225,
    "c": 0.17531,
    "h": 144.3
  },
  "luminance": 0.22654
}

Semantic roles & 50–950 ramp

primary
#21972E
secondary
#BE55B3
accent
#41D5E7
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #21972E

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

Preview Lab → · Contrast checker → · Palette generator →

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