#20AF40#20AF40

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

Color values

HEX#20AF40
RGBrgb(32, 175, 64)
HSLhsl(133, 69%, 41%)
HSVhsv(133, 82%, 69%)
CMYKcmyk(81.7%, 0%, 63.4%, 31.4%)
CIE-LABlab(62.79, -58.73, 45.58)
CIE-LCHlch(62.79, 74.34, 142.19°)
OKLaboklab(65.98% -0.1581 0.1065)
OKLCHoklch(65.98% 0.191 146)
XYZxyz(16.8498, 31.3351, 10.0097)
Luminance0.3134 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20AF40 #AF208F
analogous
#47AF20 #20AF40 #20AF88
triadic
#20AF40 #4020AF #AF4020
tetradic
#20AF40 #2047AF #AF208F #AF8820
square
#20AF40 #2047AF #AF208F #AF8820
split-complementary
#20AF40 #8820AF #AF2047
monochromatic
#0D481A #177B2D #20AF40 #33DA58 #66E382

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20AF40#FFFFFF#000000##000000
##20AF401.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)
#B29E33
Deuteranopia (green-blind)
#A2944A
Tritanopia (blue-blind)
#00AB98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #20af40;
/* rgb */ color: rgb(32, 175, 64);
/* oklch */ color: oklch(66.0% 0.191 146.0);
Tailwind
colors: {
  custom: {
    50: '#76c879',
    500: '#20af40',
    950: '#000000',
  },
}
SCSS
$custom: #20af40;
$custom-light: #76c879;
$custom-dark: #000000;
JSON
{
  "hex": "#20af40",
  "rgb": {
    "r": 32,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 133.427,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65983,
    "c": 0.19062,
    "h": 146
  },
  "luminance": 0.31337
}

Semantic roles & 50–950 ramp

primary
#20AF40
secondary
#C862B2
accent
#3CC5EC
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #20AF40

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

Preview Lab → · Contrast checker → · Palette generator →

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