#20972F#20972F

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

Color values

HEX#20972F
RGBrgb(32, 151, 47)
HSLhsl(128, 65%, 36%)
HSVhsv(128, 79%, 59%)
CMYKcmyk(78.8%, 0%, 68.9%, 40.8%)
CIE-LABlab(54.70, -52.72, 44.07)
CIE-LCHlch(54.70, 68.71, 140.11°)
OKLaboklab(59.22% -0.1424 0.1015)
OKLCHoklch(59.22% 0.175 144.5)
XYZxyz(12.1745, 22.6441, 6.4179)
Luminance0.2265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20972F #972088
analogous
#4C9720 #20972F #20976A
triadic
#20972F #2F2097 #972F20
tetradic
#20972F #204C97 #972088 #976A20
square
#20972F #204C97 #972088 #976A20
split-complementary
#20972F #6A2097 #97204C
monochromatic
#0B3210 #15641F #20972F #2BC93F #56DB67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20972F#FFFFFF#000000##000000
##20972F1.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: #20972f;
/* rgb */ color: rgb(32, 151, 47);
/* oklch */ color: oklch(59.2% 0.175 144.5);
Tailwind
colors: {
  custom: {
    50: '#71b76d',
    500: '#20972f',
    950: '#000000',
  },
}
SCSS
$custom: #20972f;
$custom-light: #71b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#20972f",
  "rgb": {
    "r": 32,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 127.563,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59216,
    "c": 0.17488,
    "h": 144.5
  },
  "luminance": 0.22646
}

Semantic roles & 50–950 ramp

primary
#20972F
secondary
#BF54B1
accent
#40D3E8
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #20972F

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

Preview Lab → · Contrast checker → · Palette generator →

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