#20A540#20A540

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

Color values

HEX#20A540
RGBrgb(32, 165, 64)
HSLhsl(134, 68%, 39%)
HSVhsv(134, 81%, 65%)
CMYKcmyk(80.6%, 0%, 61.2%, 35.3%)
CIE-LABlab(59.51, -55.43, 41.85)
CIE-LCHlch(59.51, 69.46, 142.95°)
OKLaboklab(63.26% -0.1491 0.0985)
OKLCHoklch(63.26% 0.179 146.6)
XYZxyz(14.9751, 27.5857, 9.3848)
Luminance0.2759 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20A540 #A52085
analogous
#42A520 #20A540 #20A582
triadic
#20A540 #4020A5 #A54020
tetradic
#20A540 #2042A5 #A52085 #A58220
square
#20A540 #2042A5 #A52085 #A58220
split-complementary
#20A540 #8220A5 #A52042
monochromatic
#0C3E18 #16722C #20A540 #2CD655 #5FE07E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20A540#FFFFFF#000000##000000
##20A5401.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)
#A79535
Deuteranopia (green-blind)
#998B48
Tritanopia (blue-blind)
#00A18F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #20a540;
/* rgb */ color: rgb(32, 165, 64);
/* oklch */ color: oklch(63.3% 0.179 146.6);
Tailwind
colors: {
  custom: {
    50: '#74c178',
    500: '#20a540',
    950: '#000000',
  },
}
SCSS
$custom: #20a540;
$custom-light: #74c178;
$custom-dark: #000000;
JSON
{
  "hex": "#20a540",
  "rgb": {
    "r": 32,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 134.436,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63261,
    "c": 0.17874,
    "h": 146.6
  },
  "luminance": 0.27588
}

Semantic roles & 50–950 ramp

primary
#20A540
secondary
#C55CAC
accent
#3DC1EA
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #20A540

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

Preview Lab → · Contrast checker → · Palette generator →

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