#20782F#20782F

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

Color values

HEX#20782F
RGBrgb(32, 120, 47)
HSLhsl(130, 58%, 30%)
HSVhsv(130, 73%, 47%)
CMYKcmyk(73.3%, 0%, 60.8%, 52.9%)
CIE-LABlab(44.15, -41.77, 32.25)
CIE-LCHlch(44.15, 52.77, 142.33°)
OKLaboklab(50.47% -0.1127 0.0763)
OKLCHoklch(50.47% 0.136 145.9)
XYZxyz(7.8247, 13.9444, 4.9679)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20782F #782069
analogous
#3D7820 #20782F #20785B
triadic
#20782F #2F2078 #782F20
tetradic
#20782F #203D78 #782069 #785B20
square
#20782F #203D78 #782069 #785B20
split-complementary
#20782F #5B2078 #78203D
monochromatic
#061809 #13481C #20782F #2DA842 #45CD5C

Accessibility & contrast

On white

5.54
#20782F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#20782F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20782F
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20782F#FFFFFF#000000##FFFFFF
##20782F1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D28
Deuteranopia (green-blind)
#6F6635
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #20782f;
/* rgb */ color: rgb(32, 120, 47);
/* oklch */ color: oklch(50.5% 0.136 145.9);
Tailwind
colors: {
  custom: {
    50: '#69a06a',
    500: '#20782f',
    950: '#000000',
  },
}
SCSS
$custom: #20782f;
$custom-light: #69a06a;
$custom-dark: #000000;
JSON
{
  "hex": "#20782f",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 47
  },
  "hsl": {
    "h": 130.227,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50465,
    "c": 0.13611,
    "h": 145.9
  },
  "luminance": 0.13945
}

Semantic roles & 50–950 ramp

primary
#20782F
secondary
#AB489A
accent
#47C7E1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #20782F

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

Preview Lab → · Contrast checker → · Palette generator →

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