#20972A#20972A

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

Color values

HEX#20972A
RGBrgb(32, 151, 42)
HSLhsl(125, 65%, 36%)
HSVhsv(125, 79%, 59%)
CMYKcmyk(78.8%, 0%, 72.2%, 40.8%)
CIE-LABlab(54.66, -53.20, 46.08)
CIE-LCHlch(54.66, 70.38, 139.10°)
OKLaboklab(59.17% -0.1439 0.1051)
OKLCHoklch(59.17% 0.178 143.9)
XYZxyz(12.0794, 22.6060, 5.9168)
Luminance0.2261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20972A #97208D
analogous
#519720 #20972A #209765
triadic
#20972A #2A2097 #972A20
tetradic
#20972A #205197 #97208D #976520
square
#20972A #205197 #97208D #976520
split-complementary
#20972A #652097 #972051
monochromatic
#0B320E #15641C #20972A #2BC938 #56DB61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20972A#FFFFFF#000000##000000
##20972A1.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: #20972a;
/* rgb */ color: rgb(32, 151, 42);
/* oklch */ color: oklch(59.2% 0.178 143.9);
Tailwind
colors: {
  custom: {
    50: '#71b76a',
    500: '#20972a',
    950: '#000000',
  },
}
SCSS
$custom: #20972a;
$custom-light: #71b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#20972a",
  "rgb": {
    "r": 32,
    "g": 151,
    "b": 42
  },
  "hsl": {
    "h": 125.042,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5917,
    "c": 0.17825,
    "h": 143.9
  },
  "luminance": 0.22607
}

Semantic roles & 50–950 ramp

primary
#20972A
secondary
#BF54B6
accent
#40DAE8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #20972A

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

Preview Lab → · Contrast checker → · Palette generator →

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