#20971A#20971A

#20971A is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.1% C 0.187 H 142.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#20971A
RGBrgb(32, 151, 26)
HSLhsl(117, 71%, 35%)
HSVhsv(117, 83%, 59%)
CMYKcmyk(78.8%, 0%, 82.8%, 40.8%)
CIE-LABlab(54.57, -54.40, 51.52)
CIE-LCHlch(54.57, 74.93, 136.56°)
OKLaboklab(59.06% -0.1479 0.1143)
OKLCHoklch(59.06% 0.187 142.3)
XYZxyz(11.8480, 22.5135, 4.6982)
Luminance0.2251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20971A #911A97
analogous
#5F971A #20971A #1A9753
triadic
#20971A #1A2097 #971A20
tetradic
#20971A #1A5F97 #911A97 #97531A
square
#20971A #1A5F97 #911A97 #97531A
split-complementary
#20971A #531A97 #971A5F
monochromatic
#0A2F08 #156311 #20971A #2BCB23 #52E04B

Accessibility & contrast

On white

3.82
#20971A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#20971A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20971A
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20971A#FFFFFF#000000##000000
##20971A1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#8E7F2A
Tritanopia (blue-blind)
#009280
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #20971a;
/* rgb */ color: rgb(32, 151, 26);
/* oklch */ color: oklch(59.1% 0.187 142.3);
Tailwind
colors: {
  custom: {
    50: '#72b762',
    500: '#20971a',
    950: '#000000',
  },
}
SCSS
$custom: #20971a;
$custom-light: #72b762;
$custom-dark: #000000;
JSON
{
  "hex": "#20971a",
  "rgb": {
    "r": 32,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 117.12,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59059,
    "c": 0.18692,
    "h": 142.3
  },
  "luminance": 0.22515
}

Semantic roles & 50–950 ramp

primary
#20971A
secondary
#BC4BC2
accent
#3AEDE5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #20971A

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

Preview Lab → · Contrast checker → · Palette generator →

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