#20772C#20772C

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

Color values

HEX#20772C
RGBrgb(32, 119, 44)
HSLhsl(128, 58%, 30%)
HSVhsv(128, 73%, 47%)
CMYKcmyk(73.1%, 0%, 63%, 53.3%)
CIE-LABlab(43.77, -41.79, 33.30)
CIE-LCHlch(43.77, 53.44, 141.46°)
OKLaboklab(50.14% -0.1129 0.0783)
OKLCHoklch(50.14% 0.137 145.3)
XYZxyz(7.6466, 13.6817, 4.6202)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20772C #77206B
analogous
#407720 #20772C #207758
triadic
#20772C #2C2077 #772C20
tetradic
#20772C #204077 #77206B #775820
square
#20772C #204077 #77206B #775820
split-complementary
#20772C #582077 #772040
monochromatic
#061809 #13471A #20772C #2DA73E #45CD57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20772C#FFFFFF#000000##FFFFFF
##20772C1.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)
#796C24
Deuteranopia (green-blind)
#6F6532
Tritanopia (blue-blind)
#007467
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #20772c;
/* rgb */ color: rgb(32, 119, 44);
/* oklch */ color: oklch(50.1% 0.137 145.3);
Tailwind
colors: {
  custom: {
    50: '#699f68',
    500: '#20772c',
    950: '#000000',
  },
}
SCSS
$custom: #20772c;
$custom-light: #699f68;
$custom-dark: #000000;
JSON
{
  "hex": "#20772c",
  "rgb": {
    "r": 32,
    "g": 119,
    "b": 44
  },
  "hsl": {
    "h": 128.276,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50139,
    "c": 0.13739,
    "h": 145.3
  },
  "luminance": 0.13683
}

Semantic roles & 50–950 ramp

primary
#20772C
secondary
#AA489D
accent
#47CCE1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #20772C

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

Preview Lab → · Contrast checker → · Palette generator →

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