#20782B#20782B

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

Color values

HEX#20782B
RGBrgb(32, 120, 43)
HSLhsl(128, 58%, 30%)
HSVhsv(128, 73%, 47%)
CMYKcmyk(73.3%, 0%, 64.2%, 52.9%)
CIE-LABlab(44.11, -42.30, 34.17)
CIE-LCHlch(44.11, 54.37, 141.07°)
OKLaboklab(50.41% -0.1143 0.0801)
OKLCHoklch(50.41% 0.14 145)
XYZxyz(7.7477, 13.9136, 4.5623)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20782B #78206D
analogous
#417820 #20782B #207857
triadic
#20782B #2B2078 #782B20
tetradic
#20782B #204178 #78206D #785720
square
#20782B #204178 #78206D #785720
split-complementary
#20782B #572078 #782041
monochromatic
#061809 #13481A #20782B #2DA83C #45CD56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20782B#FFFFFF#000000##FFFFFF
##20782B1.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)
#7A6D22
Deuteranopia (green-blind)
#706631
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #20782b;
/* rgb */ color: rgb(32, 120, 43);
/* oklch */ color: oklch(50.4% 0.140 145.0);
Tailwind
colors: {
  custom: {
    50: '#69a067',
    500: '#20782b',
    950: '#000000',
  },
}
SCSS
$custom: #20782b;
$custom-light: #69a067;
$custom-dark: #000000;
JSON
{
  "hex": "#20782b",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 43
  },
  "hsl": {
    "h": 127.5,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50414,
    "c": 0.13955,
    "h": 145
  },
  "luminance": 0.13914
}

Semantic roles & 50–950 ramp

primary
#20782B
secondary
#AB489F
accent
#47CEE1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #20782B

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

Preview Lab → · Contrast checker → · Palette generator →

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