#20781B#20781B

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

Color values

HEX#20781B
RGBrgb(32, 120, 27)
HSLhsl(117, 63%, 29%)
HSVhsv(117, 78%, 47%)
CMYKcmyk(73.3%, 0%, 77.5%, 52.9%)
CIE-LABlab(43.97, -43.95, 40.99)
CIE-LCHlch(43.97, 60.10, 136.99°)
OKLaboklab(50.26% -0.1196 0.0925)
OKLCHoklch(50.26% 0.151 142.3)
XYZxyz(7.5095, 13.8183, 3.3081)
Luminance0.1382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20781B #731B78
analogous
#4F781B #20781B #1B7845
triadic
#20781B #1B2078 #781B20
tetradic
#20781B #1B4F78 #731B78 #78451B
square
#20781B #1B4F78 #731B78 #78451B
split-complementary
#20781B #451B78 #781B4F
monochromatic
#071906 #134610 #20781B #2DAA26 #43D33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20781B#FFFFFF#000000##FFFFFF
##20781B1.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)
#7B6C08
Deuteranopia (green-blind)
#716525
Tritanopia (blue-blind)
#067466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #20781b;
/* rgb */ color: rgb(32, 120, 27);
/* oklch */ color: oklch(50.3% 0.151 142.3);
Tailwind
colors: {
  custom: {
    50: '#6aa05e',
    500: '#20781b',
    950: '#000000',
  },
}
SCSS
$custom: #20781b;
$custom-light: #6aa05e;
$custom-dark: #000000;
JSON
{
  "hex": "#20781b",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 116.774,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50256,
    "c": 0.15115,
    "h": 142.3
  },
  "luminance": 0.13819
}

Semantic roles & 50–950 ramp

primary
#20781B
secondary
#A743AC
accent
#41E6DD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #20781B

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

Preview Lab → · Contrast checker → · Palette generator →

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