#20781A#20781A

#20781A is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.2% C 0.152 H 142.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#20781A
RGBrgb(32, 120, 26)
HSLhsl(116, 64%, 29%)
HSVhsv(116, 78%, 47%)
CMYKcmyk(73.3%, 0%, 78.3%, 52.9%)
CIE-LABlab(43.96, -44.03, 41.36)
CIE-LCHlch(43.96, 60.41, 136.79°)
OKLaboklab(50.25% -0.1198 0.0931)
OKLCHoklch(50.25% 0.152 142.2)
XYZxyz(7.4982, 13.8138, 3.2482)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20781A #721A78
analogous
#4F781A #20781A #1A7843
triadic
#20781A #1A2078 #781A20
tetradic
#20781A #1A4F78 #721A78 #78431A
square
#20781A #1A4F78 #721A78 #78431A
split-complementary
#20781A #431A78 #781A4F
monochromatic
#071905 #13460F #20781A #2DAA25 #42D438

Accessibility & contrast

On white

5.58
#20781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#20781A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20781A
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20781A#FFFFFF#000000##FFFFFF
##20781A1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C06
Deuteranopia (green-blind)
#716524
Tritanopia (blue-blind)
#067466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #20781a;
/* rgb */ color: rgb(32, 120, 26);
/* oklch */ color: oklch(50.2% 0.152 142.2);
Tailwind
colors: {
  custom: {
    50: '#6aa05e',
    500: '#20781a',
    950: '#000000',
  },
}
SCSS
$custom: #20781a;
$custom-light: #6aa05e;
$custom-dark: #000000;
JSON
{
  "hex": "#20781a",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 116.17,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50248,
    "c": 0.15174,
    "h": 142.2
  },
  "luminance": 0.13815
}

Semantic roles & 50–950 ramp

primary
#20781A
secondary
#A641AC
accent
#40E7DD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #20781A

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

Preview Lab → · Contrast checker → · Palette generator →

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