#20771C#20771C

#20771C is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.0% C 0.149 H 142.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#20771C
RGBrgb(32, 119, 28)
HSLhsl(117, 62%, 29%)
HSVhsv(117, 76%, 47%)
CMYKcmyk(73.1%, 0%, 76.5%, 53.3%)
CIE-LABlab(43.63, -43.51, 40.26)
CIE-LCHlch(43.63, 59.28, 137.22°)
OKLaboklab(49.98% -0.1183 0.0911)
OKLCHoklch(49.98% 0.149 142.4)
XYZxyz(7.4017, 13.5838, 3.3302)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20771C #731C77
analogous
#4E771C #20771C #1C7746
triadic
#20771C #1C2077 #771C20
tetradic
#20771C #1C4E77 #731C77 #77461C
square
#20771C #1C4E77 #731C77 #77461C
split-complementary
#20771C #461C77 #771C4E
monochromatic
#071906 #134510 #20771C #2DA928 #43D13C

Accessibility & contrast

On white

5.65
#20771C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#20771C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20771C
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20771C#FFFFFF#000000##FFFFFF
##20771C1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B0B
Deuteranopia (green-blind)
#706426
Tritanopia (blue-blind)
#067365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #20771c;
/* rgb */ color: rgb(32, 119, 28);
/* oklch */ color: oklch(50.0% 0.149 142.4);
Tailwind
colors: {
  custom: {
    50: '#6a9f5f',
    500: '#20771c',
    950: '#000000',
  },
}
SCSS
$custom: #20771c;
$custom-light: #6a9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#20771c",
  "rgb": {
    "r": 32,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 117.363,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49975,
    "c": 0.14932,
    "h": 142.4
  },
  "luminance": 0.13585
}

Semantic roles & 50–950 ramp

primary
#20771C
secondary
#A744AB
accent
#43E5DE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #20771C

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

Preview Lab → · Contrast checker → · Palette generator →

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