#20772E#20772E

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

Color values

HEX#20772E
RGBrgb(32, 119, 46)
HSLhsl(130, 58%, 30%)
HSVhsv(130, 73%, 47%)
CMYKcmyk(73.1%, 0%, 61.3%, 53.3%)
CIE-LABlab(43.80, -41.53, 32.33)
CIE-LCHlch(43.80, 52.63, 142.10°)
OKLaboklab(50.17% -0.1121 0.0764)
OKLCHoklch(50.17% 0.136 145.7)
XYZxyz(7.6851, 13.6971, 4.8230)
Luminance0.1370 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20772E #772069
analogous
#3E7720 #20772E #20775A
triadic
#20772E #2E2077 #772E20
tetradic
#20772E #203E77 #772069 #775A20
square
#20772E #203E77 #772069 #775A20
split-complementary
#20772E #5A2077 #77203E
monochromatic
#061809 #13471B #20772E #2DA741 #45CD5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20772E#FFFFFF#000000##FFFFFF
##20772E1.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)
#796C26
Deuteranopia (green-blind)
#6F6534
Tritanopia (blue-blind)
#007467
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #20772e;
/* rgb */ color: rgb(32, 119, 46);
/* oklch */ color: oklch(50.2% 0.136 145.7);
Tailwind
colors: {
  custom: {
    50: '#699f69',
    500: '#20772e',
    950: '#000000',
  },
}
SCSS
$custom: #20772e;
$custom-light: #699f69;
$custom-dark: #000000;
JSON
{
  "hex": "#20772e",
  "rgb": {
    "r": 32,
    "g": 119,
    "b": 46
  },
  "hsl": {
    "h": 129.655,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50165,
    "c": 0.13565,
    "h": 145.7
  },
  "luminance": 0.13698
}

Semantic roles & 50–950 ramp

primary
#20772E
secondary
#AA489B
accent
#47C8E1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #20772E

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

Preview Lab → · Contrast checker → · Palette generator →

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