#20972C#20972C

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

Color values

HEX#20972C
RGBrgb(32, 151, 44)
HSLhsl(126, 65%, 36%)
HSVhsv(126, 79%, 59%)
CMYKcmyk(78.8%, 0%, 70.9%, 40.8%)
CIE-LABlab(54.68, -53.01, 45.29)
CIE-LCHlch(54.68, 69.73, 139.49°)
OKLaboklab(59.19% -0.1433 0.1037)
OKLCHoklch(59.19% 0.177 144.1)
XYZxyz(12.1161, 22.6207, 6.1101)
Luminance0.2262 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20972C #97208B
analogous
#509720 #20972C #209767
triadic
#20972C #2C2097 #972C20
tetradic
#20972C #205097 #97208B #976720
square
#20972C #205097 #97208B #976720
split-complementary
#20972C #672097 #972050
monochromatic
#0B320F #15641D #20972C #2BC93B #56DB64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #20972c;
/* rgb */ color: rgb(32, 151, 44);
/* oklch */ color: oklch(59.2% 0.177 144.1);
Tailwind
colors: {
  custom: {
    50: '#71b76b',
    500: '#20972c',
    950: '#000000',
  },
}
SCSS
$custom: #20972c;
$custom-light: #71b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#20972c",
  "rgb": {
    "r": 32,
    "g": 151,
    "b": 44
  },
  "hsl": {
    "h": 126.05,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59188,
    "c": 0.17694,
    "h": 144.1
  },
  "luminance": 0.22622
}

Semantic roles & 50–950 ramp

primary
#20972C
secondary
#BF54B4
accent
#40D7E8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #20972C

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

Preview Lab → · Contrast checker → · Palette generator →

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