#20781C#20781C

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

Color values

HEX#20781C
RGBrgb(32, 120, 28)
HSLhsl(117, 62%, 29%)
HSVhsv(117, 77%, 47%)
CMYKcmyk(73.3%, 0%, 76.7%, 52.9%)
CIE-LABlab(43.98, -43.86, 40.62)
CIE-LCHlch(43.98, 59.78, 137.20°)
OKLaboklab(50.26% -0.1193 0.0918)
OKLCHoklch(50.26% 0.151 142.4)
XYZxyz(7.5213, 13.8230, 3.3701)
Luminance0.1382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20781C #741C78
analogous
#4E781C #20781C #1C7846
triadic
#20781C #1C2078 #781C20
tetradic
#20781C #1C4E78 #741C78 #78461C
square
#20781C #1C4E78 #741C78 #78461C
split-complementary
#20781C #461C78 #781C4E
monochromatic
#071906 #134610 #20781C #2DAA28 #43D23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20781C#FFFFFF#000000##FFFFFF
##20781C1.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)
#7B6C0A
Deuteranopia (green-blind)
#716526
Tritanopia (blue-blind)
#057466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #20781c;
/* rgb */ color: rgb(32, 120, 28);
/* oklch */ color: oklch(50.3% 0.151 142.4);
Tailwind
colors: {
  custom: {
    50: '#6aa05f',
    500: '#20781c',
    950: '#000000',
  },
}
SCSS
$custom: #20781c;
$custom-light: #6aa05f;
$custom-dark: #000000;
JSON
{
  "hex": "#20781c",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 117.391,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50264,
    "c": 0.15054,
    "h": 142.4
  },
  "luminance": 0.13824
}

Semantic roles & 50–950 ramp

primary
#20781C
secondary
#A844AC
accent
#43E5DE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #20781C

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

Preview Lab → · Contrast checker → · Palette generator →

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