#20971E#20971E

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

Color values

HEX#20971E
RGBrgb(32, 151, 30)
HSLhsl(119, 67%, 35%)
HSVhsv(119, 80%, 59%)
CMYKcmyk(78.8%, 0%, 80.1%, 40.8%)
CIE-LABlab(54.59, -54.15, 50.32)
CIE-LCHlch(54.59, 73.92, 137.10°)
OKLaboklab(59.08% -0.1471 0.1123)
OKLCHoklch(59.08% 0.185 142.6)
XYZxyz(11.8959, 22.5326, 4.9503)
Luminance0.2253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20971E #951E97
analogous
#5D971E #20971E #1E9758
triadic
#20971E #1E2097 #971E20
tetradic
#20971E #1E5D97 #951E97 #97581E
square
#20971E #1E5D97 #951E97 #97581E
split-complementary
#20971E #581E97 #971E5D
monochromatic
#0A310A #156414 #20971E #2BCA28 #55DD53

Accessibility & contrast

On white

3.81
#20971E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#20971E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20971E
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20971E#FFFFFF#000000##000000
##20971E1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#8E7F2C
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #20971e;
/* rgb */ color: rgb(32, 151, 30);
/* oklch */ color: oklch(59.1% 0.185 142.6);
Tailwind
colors: {
  custom: {
    50: '#72b764',
    500: '#20971e',
    950: '#000000',
  },
}
SCSS
$custom: #20971e;
$custom-light: #72b764;
$custom-dark: #000000;
JSON
{
  "hex": "#20971e",
  "rgb": {
    "r": 32,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 119.008,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59082,
    "c": 0.18507,
    "h": 142.6
  },
  "luminance": 0.22534
}

Semantic roles & 50–950 ramp

primary
#20971E
secondary
#BE51C0
accent
#3EEAE7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #20971E

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

Preview Lab → · Contrast checker → · Palette generator →

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