#20781E#20781E

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

Color values

HEX#20781E
RGBrgb(32, 120, 30)
HSLhsl(119, 60%, 29%)
HSVhsv(119, 75%, 47%)
CMYKcmyk(73.3%, 0%, 75%, 52.9%)
CIE-LABlab(43.99, -43.69, 39.84)
CIE-LCHlch(43.99, 59.13, 137.64°)
OKLaboklab(50.28% -0.1187 0.0905)
OKLCHoklch(50.28% 0.149 142.7)
XYZxyz(7.5460, 13.8329, 3.5004)
Luminance0.1383 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20781E #761E78
analogous
#4D781E #20781E #1E7849
triadic
#20781E #1E2078 #781E20
tetradic
#20781E #1E4D78 #761E78 #78491E
square
#20781E #1E4D78 #761E78 #78491E
split-complementary
#20781E #491E78 #781E4D
monochromatic
#071806 #134712 #20781E #2DA92A #44CF41

Accessibility & contrast

On white

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

On black

3.77
#20781E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##20781E#FFFFFF#000000##FFFFFF
##20781E1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C0E
Deuteranopia (green-blind)
#716527
Tritanopia (blue-blind)
#057466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #20781e;
/* rgb */ color: rgb(32, 120, 30);
/* oklch */ color: oklch(50.3% 0.149 142.7);
Tailwind
colors: {
  custom: {
    50: '#6aa060',
    500: '#20781e',
    950: '#000000',
  },
}
SCSS
$custom: #20781e;
$custom-light: #6aa060;
$custom-dark: #000000;
JSON
{
  "hex": "#20781e",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 118.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5028,
    "c": 0.14927,
    "h": 142.7
  },
  "luminance": 0.13834
}

Semantic roles & 50–950 ramp

primary
#20781E
secondary
#A946AC
accent
#45E3E0
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #20781E

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

Preview Lab → · Contrast checker → · Palette generator →

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