#20782A#20782A

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

Color values

HEX#20782A
RGBrgb(32, 120, 42)
HSLhsl(127, 58%, 30%)
HSVhsv(127, 73%, 47%)
CMYKcmyk(73.3%, 0%, 65%, 52.9%)
CIE-LABlab(44.10, -42.42, 34.64)
CIE-LCHlch(44.10, 54.77, 140.77°)
OKLaboklab(50.4% -0.1147 0.081)
OKLCHoklch(50.4% 0.14 144.8)
XYZxyz(7.7295, 13.9063, 4.4669)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20782A #78206E
analogous
#427820 #20782A #207856
triadic
#20782A #2A2078 #782A20
tetradic
#20782A #204278 #78206E #785620
square
#20782A #204278 #78206E #785620
split-complementary
#20782A #562078 #782042
monochromatic
#061808 #134819 #20782A #2DA83B #45CD54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20782A#FFFFFF#000000##FFFFFF
##20782A1.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)
#7A6D21
Deuteranopia (green-blind)
#706531
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #20782a;
/* rgb */ color: rgb(32, 120, 42);
/* oklch */ color: oklch(50.4% 0.140 144.8);
Tailwind
colors: {
  custom: {
    50: '#6aa067',
    500: '#20782a',
    950: '#000000',
  },
}
SCSS
$custom: #20782a;
$custom-light: #6aa067;
$custom-dark: #000000;
JSON
{
  "hex": "#20782a",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 42
  },
  "hsl": {
    "h": 126.818,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50402,
    "c": 0.14038,
    "h": 144.8
  },
  "luminance": 0.13907
}

Semantic roles & 50–950 ramp

primary
#20782A
secondary
#AB48A0
accent
#47D0E1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #20782A

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

Preview Lab → · Contrast checker → · Palette generator →

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