#20972B#20972B

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

Color values

HEX#20972B
RGBrgb(32, 151, 43)
HSLhsl(126, 65%, 36%)
HSVhsv(126, 79%, 59%)
CMYKcmyk(78.8%, 0%, 71.5%, 40.8%)
CIE-LABlab(54.67, -53.11, 45.69)
CIE-LCHlch(54.67, 70.06, 139.30°)
OKLaboklab(59.18% -0.1436 0.1044)
OKLCHoklch(59.18% 0.178 144)
XYZxyz(12.0975, 22.6133, 6.0123)
Luminance0.2261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20972B #97208C
analogous
#509720 #20972B #209766
triadic
#20972B #2B2097 #972B20
tetradic
#20972B #205097 #97208C #976620
square
#20972B #205097 #97208C #976620
split-complementary
#20972B #662097 #972050
monochromatic
#0B320E #15641D #20972B #2BC939 #56DB62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20972B#FFFFFF#000000##000000
##20972B1.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)
#9A881A
Deuteranopia (green-blind)
#8D7F36
Tritanopia (blue-blind)
#009381
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #20972b;
/* rgb */ color: rgb(32, 151, 43);
/* oklch */ color: oklch(59.2% 0.178 144.0);
Tailwind
colors: {
  custom: {
    50: '#71b76b',
    500: '#20972b',
    950: '#000000',
  },
}
SCSS
$custom: #20972b;
$custom-light: #71b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#20972b",
  "rgb": {
    "r": 32,
    "g": 151,
    "b": 43
  },
  "hsl": {
    "h": 125.546,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59179,
    "c": 0.1776,
    "h": 144
  },
  "luminance": 0.22615
}

Semantic roles & 50–950 ramp

primary
#20972B
secondary
#BF54B5
accent
#40D8E8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #20972B

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

Preview Lab → · Contrast checker → · Palette generator →

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