#20782C#20782C

#20782C is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.139 H 145.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#20782C
RGBrgb(32, 120, 44)
HSLhsl(128, 58%, 30%)
HSVhsv(128, 73%, 47%)
CMYKcmyk(73.3%, 0%, 63.3%, 52.9%)
CIE-LABlab(44.12, -42.17, 33.70)
CIE-LCHlch(44.12, 53.98, 141.37°)
OKLaboklab(50.43% -0.1139 0.0792)
OKLCHoklch(50.43% 0.139 145.2)
XYZxyz(7.7662, 13.9210, 4.6601)
Luminance0.1392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20782C #78206C
analogous
#407820 #20782C #207858
triadic
#20782C #2C2078 #782C20
tetradic
#20782C #204078 #78206C #785820
square
#20782C #204078 #78206C #785820
split-complementary
#20782C #582078 #782040
monochromatic
#061809 #13481A #20782C #2DA83E #45CD58

Accessibility & contrast

On white

5.55
#20782C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#20782C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20782C
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20782C#FFFFFF#000000##FFFFFF
##20782C1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D24
Deuteranopia (green-blind)
#706632
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #20782c;
/* rgb */ color: rgb(32, 120, 44);
/* oklch */ color: oklch(50.4% 0.139 145.2);
Tailwind
colors: {
  custom: {
    50: '#69a068',
    500: '#20782c',
    950: '#000000',
  },
}
SCSS
$custom: #20782c;
$custom-light: #69a068;
$custom-dark: #000000;
JSON
{
  "hex": "#20782c",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 44
  },
  "hsl": {
    "h": 128.182,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50426,
    "c": 0.13871,
    "h": 145.2
  },
  "luminance": 0.13922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20782C

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

Preview Lab → · Contrast checker → · Palette generator →

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