#20AF51#20AF51

#20AF51 is a light, vivid green. Relative luminance 0.316; OKLCH L 66.2% C 0.177 H 149.0°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#20AF51
RGBrgb(32, 175, 81)
HSLhsl(141, 69%, 41%)
HSVhsv(141, 82%, 69%)
CMYKcmyk(81.7%, 0%, 53.7%, 31.4%)
CIE-LABlab(62.98, -56.46, 37.79)
CIE-LCHlch(62.98, 67.94, 146.20°)
OKLaboklab(66.2% -0.1515 0.0909)
OKLCHoklch(66.2% 0.177 149)
XYZxyz(17.4094, 31.5590, 12.9569)
Luminance0.3156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20AF51 #AF207E
analogous
#37AF20 #20AF51 #20AF98
triadic
#20AF51 #5120AF #AF5120
tetradic
#20AF51 #2037AF #AF207E #AF9820
square
#20AF51 #2037AF #AF207E #AF9820
split-complementary
#20AF51 #9820AF #AF2037
monochromatic
#0D4821 #177B39 #20AF51 #33DA6C #66E391

Accessibility & contrast

On white

2.87
#20AF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#20AF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #20AF51
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20AF51#FFFFFF#000000##000000
##20AF511.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09F49
Deuteranopia (green-blind)
#A19458
Tritanopia (blue-blind)
#00AC9A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #20af51;
/* rgb */ color: rgb(32, 175, 81);
/* oklch */ color: oklch(66.2% 0.177 149.0);
Tailwind
colors: {
  custom: {
    50: '#76c884',
    500: '#20af51',
    950: '#000000',
  },
}
SCSS
$custom: #20af51;
$custom-light: #76c884;
$custom-dark: #000000;
JSON
{
  "hex": "#20af51",
  "rgb": {
    "r": 32,
    "g": 175,
    "b": 81
  },
  "hsl": {
    "h": 140.559,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66199,
    "c": 0.17672,
    "h": 149
  },
  "luminance": 0.31561
}

Semantic roles & 50–950 ramp

primary
#20AF51
secondary
#C862A5
accent
#3CB0EC
background
#F7FCF8
surface
#EEF8EF
border
#C9D1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #20AF51

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

Preview Lab → · Contrast checker → · Palette generator →

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