#20972E#20972E

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

Color values

HEX#20972E
RGBrgb(32, 151, 46)
HSLhsl(127, 65%, 36%)
HSVhsv(127, 79%, 59%)
CMYKcmyk(78.8%, 0%, 69.5%, 40.8%)
CIE-LABlab(54.70, -52.82, 44.48)
CIE-LCHlch(54.70, 69.05, 139.90°)
OKLaboklab(59.21% -0.1427 0.1023)
OKLCHoklch(59.21% 0.176 144.4)
XYZxyz(12.1546, 22.6361, 6.3129)
Luminance0.2264 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20972E #972089
analogous
#4D9720 #20972E #209769
triadic
#20972E #2E2097 #972E20
tetradic
#20972E #204D97 #972089 #976920
square
#20972E #204D97 #972089 #976920
split-complementary
#20972E #692097 #97204D
monochromatic
#0B320F #15641F #20972E #2BC93D #56DB66

Accessibility & contrast

On white

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

On black

5.53
#20972E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20972E
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20972E#FFFFFF#000000##000000
##20972E1.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)
#9A881F
Deuteranopia (green-blind)
#8D7F38
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #20972e;
/* rgb */ color: rgb(32, 151, 46);
/* oklch */ color: oklch(59.2% 0.176 144.4);
Tailwind
colors: {
  custom: {
    50: '#71b76c',
    500: '#20972e',
    950: '#000000',
  },
}
SCSS
$custom: #20972e;
$custom-light: #71b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#20972e",
  "rgb": {
    "r": 32,
    "g": 151,
    "b": 46
  },
  "hsl": {
    "h": 127.059,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59207,
    "c": 0.17557,
    "h": 144.4
  },
  "luminance": 0.22638
}

Semantic roles & 50–950 ramp

primary
#20972E
secondary
#BF54B2
accent
#40D4E8
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #20972E

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

Preview Lab → · Contrast checker → · Palette generator →

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