#21972C#21972C

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

Color values

HEX#21972C
RGBrgb(33, 151, 44)
HSLhsl(126, 64%, 36%)
HSVhsv(126, 78%, 59%)
CMYKcmyk(78.1%, 0%, 70.9%, 40.8%)
CIE-LABlab(54.70, -52.87, 45.31)
CIE-LCHlch(54.70, 69.63, 139.40°)
OKLaboklab(59.21% -0.143 0.1038)
OKLCHoklch(59.21% 0.177 144)
XYZxyz(12.1476, 22.6370, 6.1115)
Luminance0.2264 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21972C #97218C
analogous
#519721 #21972C #219767
triadic
#21972C #2C2197 #972C21
tetradic
#21972C #215197 #97218C #976721
square
#21972C #215197 #97218C #976721
split-complementary
#21972C #672197 #972151
monochromatic
#0B330F #16651D #21972C #2CC93B #58DA64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21972C#FFFFFF#000000##000000
##21972C1.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)
#9A881C
Deuteranopia (green-blind)
#8D7F36
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #21972c;
/* rgb */ color: rgb(33, 151, 44);
/* oklch */ color: oklch(59.2% 0.177 144.0);
Tailwind
colors: {
  custom: {
    50: '#72b76b',
    500: '#21972c',
    950: '#000000',
  },
}
SCSS
$custom: #21972c;
$custom-light: #72b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#21972c",
  "rgb": {
    "r": 33,
    "g": 151,
    "b": 44
  },
  "hsl": {
    "h": 125.593,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59207,
    "c": 0.17668,
    "h": 144
  },
  "luminance": 0.22638
}

Semantic roles & 50–950 ramp

primary
#21972C
secondary
#BE55B5
accent
#41D8E7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #21972C

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

Preview Lab → · Contrast checker → · Palette generator →

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