#20772B#20772B

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

Color values

HEX#20772B
RGBrgb(32, 119, 43)
HSLhsl(128, 58%, 30%)
HSVhsv(128, 73%, 47%)
CMYKcmyk(73.1%, 0%, 63.9%, 53.3%)
CIE-LABlab(43.76, -41.92, 33.78)
CIE-LCHlch(43.76, 53.84, 141.14°)
OKLaboklab(50.13% -0.1133 0.0792)
OKLCHoklch(50.13% 0.138 145)
XYZxyz(7.6280, 13.6743, 4.5224)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20772B #77206C
analogous
#417720 #20772B #207757
triadic
#20772B #2B2077 #772B20
tetradic
#20772B #204177 #77206C #775720
square
#20772B #204177 #77206C #775720
split-complementary
#20772B #572077 #772041
monochromatic
#061809 #13471A #20772B #2DA73C #45CD56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20772B#FFFFFF#000000##FFFFFF
##20772B1.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)
#796C23
Deuteranopia (green-blind)
#6F6531
Tritanopia (blue-blind)
#007467
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #20772b;
/* rgb */ color: rgb(32, 119, 43);
/* oklch */ color: oklch(50.1% 0.138 145.0);
Tailwind
colors: {
  custom: {
    50: '#699f67',
    500: '#20772b',
    950: '#000000',
  },
}
SCSS
$custom: #20772b;
$custom-light: #699f67;
$custom-dark: #000000;
JSON
{
  "hex": "#20772b",
  "rgb": {
    "r": 32,
    "g": 119,
    "b": 43
  },
  "hsl": {
    "h": 127.586,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50127,
    "c": 0.13824,
    "h": 145
  },
  "luminance": 0.13675
}

Semantic roles & 50–950 ramp

primary
#20772B
secondary
#AA489E
accent
#47CDE1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #20772B

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

Preview Lab → · Contrast checker → · Palette generator →

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