#20772D#20772D

#20772D is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.137 H 145.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#20772D
RGBrgb(32, 119, 45)
HSLhsl(129, 58%, 30%)
HSVhsv(129, 73%, 47%)
CMYKcmyk(73.1%, 0%, 62.2%, 53.3%)
CIE-LABlab(43.78, -41.66, 32.82)
CIE-LCHlch(43.78, 53.04, 141.77°)
OKLaboklab(50.15% -0.1125 0.0774)
OKLCHoklch(50.15% 0.137 145.5)
XYZxyz(7.6656, 13.6893, 4.7204)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20772D #77206A
analogous
#3E7720 #20772D #207759
triadic
#20772D #2D2077 #772D20
tetradic
#20772D #203E77 #77206A #775920
square
#20772D #203E77 #77206A #775920
split-complementary
#20772D #592077 #77203E
monochromatic
#061809 #13471B #20772D #2DA73F #45CD59

Accessibility & contrast

On white

5.62
#20772D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#20772D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20772D
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20772D#FFFFFF#000000##FFFFFF
##20772D1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C25
Deuteranopia (green-blind)
#6F6533
Tritanopia (blue-blind)
#007467
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #20772d;
/* rgb */ color: rgb(32, 119, 45);
/* oklch */ color: oklch(50.2% 0.137 145.5);
Tailwind
colors: {
  custom: {
    50: '#699f69',
    500: '#20772d',
    950: '#000000',
  },
}
SCSS
$custom: #20772d;
$custom-light: #699f69;
$custom-dark: #000000;
JSON
{
  "hex": "#20772d",
  "rgb": {
    "r": 32,
    "g": 119,
    "b": 45
  },
  "hsl": {
    "h": 128.966,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50152,
    "c": 0.13653,
    "h": 145.5
  },
  "luminance": 0.1369
}

Semantic roles & 50–950 ramp

primary
#20772D
secondary
#AA489C
accent
#47CAE1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #20772D

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

Preview Lab → · Contrast checker → · Palette generator →

#20772D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva