#20A11C#20A11C

#20A11C is a mid, vivid green. Relative luminance 0.259; OKLCH L 61.9% C 0.197 H 142.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#20A11C
RGBrgb(32, 161, 28)
HSLhsl(118, 70%, 37%)
HSVhsv(118, 83%, 63%)
CMYKcmyk(80.1%, 0%, 82.6%, 36.9%)
CIE-LABlab(57.92, -57.44, 54.06)
CIE-LCHlch(57.92, 78.88, 136.73°)
OKLaboklab(61.85% -0.1561 0.1199)
OKLCHoklch(61.85% 0.197 142.5)
XYZxyz(13.5493, 25.8790, 5.3794)
Luminance0.2588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20A11C #9D1CA1
analogous
#63A11C #20A11C #1CA15A
triadic
#20A11C #1C20A1 #A11C20
tetradic
#20A11C #1C63A1 #9D1CA1 #A15A1C
square
#20A11C #1C63A1 #9D1CA1 #A15A1C
split-complementary
#20A11C #5A1CA1 #A11C63
monochromatic
#0B390A #166D13 #20A11C #2AD525 #5AE256

Accessibility & contrast

On white

3.40
#20A11C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#20A11C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20A11C
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20A11C#FFFFFF#000000##000000
##20A11C1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#97882D
Tritanopia (blue-blind)
#009C89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #20a11c;
/* rgb */ color: rgb(32, 161, 28);
/* oklch */ color: oklch(61.9% 0.197 142.5);
Tailwind
colors: {
  custom: {
    50: '#75be65',
    500: '#20a11c',
    950: '#000000',
  },
}
SCSS
$custom: #20a11c;
$custom-light: #75be65;
$custom-dark: #000000;
JSON
{
  "hex": "#20a11c",
  "rgb": {
    "r": 32,
    "g": 161,
    "b": 28
  },
  "hsl": {
    "h": 118.195,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61853,
    "c": 0.19679,
    "h": 142.5
  },
  "luminance": 0.25881
}

Semantic roles & 50–950 ramp

primary
#20A11C
secondary
#C154C5
accent
#3BEDE8
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #20A11C

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

Preview Lab → · Contrast checker → · Palette generator →

#20A11C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva