#20A118#20A118

#20A118 is a mid, vivid green. Relative luminance 0.259; OKLCH L 61.8% C 0.198 H 142.2°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#20A118
RGBrgb(32, 161, 24)
HSLhsl(116, 74%, 36%)
HSVhsv(116, 85%, 63%)
CMYKcmyk(80.1%, 0%, 85.1%, 36.9%)
CIE-LABlab(57.91, -57.65, 55.12)
CIE-LCHlch(57.91, 79.76, 136.28°)
OKLaboklab(61.83% -0.1568 0.1216)
OKLCHoklch(61.83% 0.198 142.2)
XYZxyz(13.5046, 25.8611, 5.1439)
Luminance0.2586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20A118 #9918A1
analogous
#65A118 #20A118 #18A155
triadic
#20A118 #1820A1 #A11820
tetradic
#20A118 #1865A1 #9918A1 #A15518
square
#20A118 #1865A1 #9918A1 #A15518
split-complementary
#20A118 #5518A1 #A11865
monochromatic
#0B3608 #156C10 #20A118 #2BD620 #57E54F

Accessibility & contrast

On white

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

On black

6.17
#20A118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20A118
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20A118#FFFFFF#000000##000000
##20A1181.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20a118;
/* rgb */ color: rgb(32, 161, 24);
/* oklch */ color: oklch(61.8% 0.198 142.2);
Tailwind
colors: {
  custom: {
    50: '#75be63',
    500: '#20a118',
    950: '#000000',
  },
}
SCSS
$custom: #20a118;
$custom-light: #75be63;
$custom-dark: #000000;
JSON
{
  "hex": "#20a118",
  "rgb": {
    "r": 32,
    "g": 161,
    "b": 24
  },
  "hsl": {
    "h": 116.496,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61834,
    "c": 0.19839,
    "h": 142.2
  },
  "luminance": 0.25863
}

Semantic roles & 50–950 ramp

primary
#20A118
secondary
#C04EC7
accent
#37F1E6
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #20A118

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

Preview Lab → · Contrast checker → · Palette generator →

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