#20781F#20781F

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

Color values

HEX#20781F
RGBrgb(32, 120, 31)
HSLhsl(119, 59%, 30%)
HSVhsv(119, 74%, 47%)
CMYKcmyk(73.3%, 0%, 74.2%, 52.9%)
CIE-LABlab(44.00, -43.60, 39.44)
CIE-LCHlch(44.00, 58.79, 137.87°)
OKLaboklab(50.29% -0.1184 0.0898)
OKLCHoklch(50.29% 0.149 142.8)
XYZxyz(7.5590, 13.8381, 3.5687)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20781F #771F78
analogous
#4D781F #20781F #1F784B
triadic
#20781F #1F2078 #781F20
tetradic
#20781F #1F4D78 #771F78 #784B1F
square
#20781F #1F4D78 #771F78 #784B1F
split-complementary
#20781F #4B1F78 #781F4D
monochromatic
#061806 #134712 #20781F #2DA92C #45CE43

Accessibility & contrast

On white

5.57
#20781F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #20781F
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20781F#FFFFFF#000000##FFFFFF
##20781F1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C10
Deuteranopia (green-blind)
#716528
Tritanopia (blue-blind)
#047466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #20781f;
/* rgb */ color: rgb(32, 120, 31);
/* oklch */ color: oklch(50.3% 0.149 142.8);
Tailwind
colors: {
  custom: {
    50: '#6aa060',
    500: '#20781f',
    950: '#000000',
  },
}
SCSS
$custom: #20781f;
$custom-light: #6aa060;
$custom-dark: #000000;
JSON
{
  "hex": "#20781f",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 119.326,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50289,
    "c": 0.14861,
    "h": 142.8
  },
  "luminance": 0.13839
}

Semantic roles & 50–950 ramp

primary
#20781F
secondary
#AA47AB
accent
#46E2E0
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #20781F

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

Preview Lab → · Contrast checker → · Palette generator →

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