#20772F#20772F

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

Color values

HEX#20772F
RGBrgb(32, 119, 47)
HSLhsl(130, 58%, 30%)
HSVhsv(130, 73%, 47%)
CMYKcmyk(73.1%, 0%, 60.5%, 53.3%)
CIE-LABlab(43.81, -41.39, 31.84)
CIE-LCHlch(43.81, 52.22, 142.43°)
OKLaboklab(50.18% -0.1117 0.0754)
OKLCHoklch(50.18% 0.135 146)
XYZxyz(7.7050, 13.7051, 4.9281)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20772F #772068
analogous
#3D7720 #20772F #20775B
triadic
#20772F #2F2077 #772F20
tetradic
#20772F #203D77 #772068 #775B20
square
#20772F #203D77 #772068 #775B20
split-complementary
#20772F #5B2077 #77203D
monochromatic
#06180A #13471C #20772F #2DA742 #45CD5C

Accessibility & contrast

On white

5.61
#20772F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #20772F
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20772F#FFFFFF#000000##FFFFFF
##20772F1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C28
Deuteranopia (green-blind)
#6F6535
Tritanopia (blue-blind)
#007467
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #20772f;
/* rgb */ color: rgb(32, 119, 47);
/* oklch */ color: oklch(50.2% 0.135 146.0);
Tailwind
colors: {
  custom: {
    50: '#699f6a',
    500: '#20772f',
    950: '#000000',
  },
}
SCSS
$custom: #20772f;
$custom-light: #699f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#20772f",
  "rgb": {
    "r": 32,
    "g": 119,
    "b": 47
  },
  "hsl": {
    "h": 130.345,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50179,
    "c": 0.13477,
    "h": 146
  },
  "luminance": 0.13706
}

Semantic roles & 50–950 ramp

primary
#20772F
secondary
#AA4899
accent
#47C6E1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #20772F

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

Preview Lab → · Contrast checker → · Palette generator →

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