#21972A#21972A

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

Color values

HEX#21972A
RGBrgb(33, 151, 42)
HSLhsl(125, 64%, 36%)
HSVhsv(125, 78%, 59%)
CMYKcmyk(78.1%, 0%, 72.2%, 40.8%)
CIE-LABlab(54.68, -53.06, 46.10)
CIE-LCHlch(54.68, 70.29, 139.01°)
OKLaboklab(59.19% -0.1436 0.1052)
OKLCHoklch(59.19% 0.178 143.8)
XYZxyz(12.1109, 22.6223, 5.9183)
Luminance0.2262 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21972A #97218E
analogous
#539721 #21972A #219765
triadic
#21972A #2A2197 #972A21
tetradic
#21972A #215397 #97218E #976521
square
#21972A #215397 #97218E #976521
split-complementary
#21972A #652197 #972153
monochromatic
#0B330E #16651C #21972A #2CC938 #58DA62

Accessibility & contrast

On white

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

On black

5.52
#21972A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21972A
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21972A#FFFFFF#000000##000000
##21972A1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8818
Deuteranopia (green-blind)
#8D7F35
Tritanopia (blue-blind)
#009381
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #21972a;
/* rgb */ color: rgb(33, 151, 42);
/* oklch */ color: oklch(59.2% 0.178 143.8);
Tailwind
colors: {
  custom: {
    50: '#72b76a',
    500: '#21972a',
    950: '#000000',
  },
}
SCSS
$custom: #21972a;
$custom-light: #72b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#21972a",
  "rgb": {
    "r": 33,
    "g": 151,
    "b": 42
  },
  "hsl": {
    "h": 124.576,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59189,
    "c": 0.17799,
    "h": 143.8
  },
  "luminance": 0.22624
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21972A

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

Preview Lab → · Contrast checker → · Palette generator →

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