#21972F#21972F

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

Color values

HEX#21972F
RGBrgb(33, 151, 47)
HSLhsl(127, 64%, 36%)
HSVhsv(127, 78%, 59%)
CMYKcmyk(78.1%, 0%, 68.9%, 40.8%)
CIE-LABlab(54.72, -52.57, 44.09)
CIE-LCHlch(54.72, 68.61, 140.01°)
OKLaboklab(59.24% -0.142 0.1016)
OKLCHoklch(59.24% 0.175 144.4)
XYZxyz(12.2061, 22.6603, 6.4194)
Luminance0.2266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21972F #972189
analogous
#4E9721 #21972F #21976A
triadic
#21972F #2F2197 #972F21
tetradic
#21972F #214E97 #972189 #976A21
square
#21972F #214E97 #972189 #976A21
split-complementary
#21972F #6A2197 #97214E
monochromatic
#0B3310 #16651F #21972F #2CC93F #58DA67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21972F#FFFFFF#000000##000000
##21972F1.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)
#9A8821
Deuteranopia (green-blind)
#8D7F39
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #21972f;
/* rgb */ color: rgb(33, 151, 47);
/* oklch */ color: oklch(59.2% 0.175 144.4);
Tailwind
colors: {
  custom: {
    50: '#71b76d',
    500: '#21972f',
    950: '#000000',
  },
}
SCSS
$custom: #21972f;
$custom-light: #71b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#21972f",
  "rgb": {
    "r": 33,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 127.119,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59235,
    "c": 0.17462,
    "h": 144.4
  },
  "luminance": 0.22662
}

Semantic roles & 50–950 ramp

primary
#21972F
secondary
#BE55B2
accent
#41D3E7
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #21972F

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

Preview Lab → · Contrast checker → · Palette generator →

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