#21972B#21972B

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

Color values

HEX#21972B
RGBrgb(33, 151, 43)
HSLhsl(125, 64%, 36%)
HSVhsv(125, 78%, 59%)
CMYKcmyk(78.1%, 0%, 71.5%, 40.8%)
CIE-LABlab(54.69, -52.96, 45.71)
CIE-LCHlch(54.69, 69.96, 139.20°)
OKLaboklab(59.2% -0.1433 0.1045)
OKLCHoklch(59.2% 0.177 143.9)
XYZxyz(12.1290, 22.6295, 6.0137)
Luminance0.2263 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21972B #97218D
analogous
#529721 #21972B #219766
triadic
#21972B #2B2197 #972B21
tetradic
#21972B #215297 #97218D #976621
square
#21972B #215297 #97218D #976621
split-complementary
#21972B #662197 #972152
monochromatic
#0B330E #16651D #21972B #2CC939 #58DA63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21972B#FFFFFF#000000##000000
##21972B1.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)
#9A881A
Deuteranopia (green-blind)
#8D7F36
Tritanopia (blue-blind)
#009381
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #21972b;
/* rgb */ color: rgb(33, 151, 43);
/* oklch */ color: oklch(59.2% 0.177 143.9);
Tailwind
colors: {
  custom: {
    50: '#72b76b',
    500: '#21972b',
    950: '#000000',
  },
}
SCSS
$custom: #21972b;
$custom-light: #72b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#21972b",
  "rgb": {
    "r": 33,
    "g": 151,
    "b": 43
  },
  "hsl": {
    "h": 125.085,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59198,
    "c": 0.17734,
    "h": 143.9
  },
  "luminance": 0.22631
}

Semantic roles & 50–950 ramp

primary
#21972B
secondary
#BE55B6
accent
#41D9E7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #21972B

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

Preview Lab → · Contrast checker → · Palette generator →

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