#20A542#20A542

#20A542 is a light, vivid green. Relative luminance 0.276; OKLCH L 63.3% C 0.177 H 146.9°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#20A542
RGBrgb(32, 165, 66)
HSLhsl(135, 68%, 39%)
HSVhsv(135, 81%, 65%)
CMYKcmyk(80.6%, 0%, 60%, 35.3%)
CIE-LABlab(59.53, -55.18, 40.94)
CIE-LCHlch(59.53, 68.71, 143.43°)
OKLaboklab(63.29% -0.1484 0.0967)
OKLCHoklch(63.29% 0.177 146.9)
XYZxyz(15.0330, 27.6089, 9.6900)
Luminance0.2761 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20A542 #A52083
analogous
#40A520 #20A542 #20A584
triadic
#20A542 #4220A5 #A54220
tetradic
#20A542 #2040A5 #A52083 #A58420
square
#20A542 #2040A5 #A52083 #A58420
split-complementary
#20A542 #8420A5 #A52040
monochromatic
#0C3E19 #16722D #20A542 #2CD658 #5FE080

Accessibility & contrast

On white

3.22
#20A542 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#20A542 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20A542
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20A542#FFFFFF#000000##000000
##20A5421.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79638
Deuteranopia (green-blind)
#998B4A
Tritanopia (blue-blind)
#00A18F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #20a542;
/* rgb */ color: rgb(32, 165, 66);
/* oklch */ color: oklch(63.3% 0.177 146.9);
Tailwind
colors: {
  custom: {
    50: '#74c17a',
    500: '#20a542',
    950: '#000000',
  },
}
SCSS
$custom: #20a542;
$custom-light: #74c17a;
$custom-dark: #000000;
JSON
{
  "hex": "#20a542",
  "rgb": {
    "r": 32,
    "g": 165,
    "b": 66
  },
  "hsl": {
    "h": 135.338,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63286,
    "c": 0.17712,
    "h": 146.9
  },
  "luminance": 0.27611
}

Semantic roles & 50–950 ramp

primary
#20A542
secondary
#C55CAA
accent
#3DBEEA
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #20A542

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

Preview Lab → · Contrast checker → · Palette generator →

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