#20AF42#20AF42

#20AF42 is a light, vivid green. Relative luminance 0.314; OKLCH L 66.0% C 0.189 H 146.3°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#20AF42
RGBrgb(32, 175, 66)
HSLhsl(134, 69%, 41%)
HSVhsv(134, 82%, 69%)
CMYKcmyk(81.7%, 0%, 62.3%, 31.4%)
CIE-LABlab(62.81, -58.49, 44.70)
CIE-LCHlch(62.81, 73.62, 142.61°)
OKLaboklab(66.01% -0.1574 0.1048)
OKLCHoklch(66.01% 0.189 146.3)
XYZxyz(16.9077, 31.3583, 10.3149)
Luminance0.3136 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20AF42 #AF208D
analogous
#45AF20 #20AF42 #20AF89
triadic
#20AF42 #4220AF #AF4220
tetradic
#20AF42 #2045AF #AF208D #AF8920
square
#20AF42 #2045AF #AF208D #AF8920
split-complementary
#20AF42 #8920AF #AF2045
monochromatic
#0D481B #177B2E #20AF42 #33DA5A #66E384

Accessibility & contrast

On white

2.89
#20AF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#20AF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #20AF42
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20AF42#FFFFFF#000000##000000
##20AF421.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E36
Deuteranopia (green-blind)
#A2944B
Tritanopia (blue-blind)
#00AB98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #20af42;
/* rgb */ color: rgb(32, 175, 66);
/* oklch */ color: oklch(66.0% 0.189 146.3);
Tailwind
colors: {
  custom: {
    50: '#76c87a',
    500: '#20af42',
    950: '#000000',
  },
}
SCSS
$custom: #20af42;
$custom-light: #76c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#20af42",
  "rgb": {
    "r": 32,
    "g": 175,
    "b": 66
  },
  "hsl": {
    "h": 134.266,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66005,
    "c": 0.18909,
    "h": 146.3
  },
  "luminance": 0.3136
}

Semantic roles & 50–950 ramp

primary
#20AF42
secondary
#C862B0
accent
#3CC2EC
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #20AF42

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

Preview Lab → · Contrast checker → · Palette generator →

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