#20A042#20A042

#20A042 is a mid, vivid green. Relative luminance 0.258; OKLCH L 61.9% C 0.171 H 147.2°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#20A042
RGBrgb(32, 160, 66)
HSLhsl(136, 67%, 38%)
HSVhsv(136, 80%, 63%)
CMYKcmyk(80%, 0%, 58.8%, 37.3%)
CIE-LABlab(57.89, -53.48, 39.01)
CIE-LCHlch(57.89, 66.20, 143.89°)
OKLaboklab(61.92% -0.1438 0.0925)
OKLCHoklch(61.92% 0.171 147.2)
XYZxyz(14.1487, 25.8403, 9.3952)
Luminance0.2584 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20A042 #A0207E
analogous
#3EA020 #20A042 #20A082
triadic
#20A042 #4220A0 #A04220
tetradic
#20A042 #203EA0 #A0207E #A08220
square
#20A042 #203EA0 #A0207E #A08220
split-complementary
#20A042 #8220A0 #A0203E
monochromatic
#0C3A18 #166D2D #20A042 #2AD357 #5CDE7F

Accessibility & contrast

On white

3.40
#20A042 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#20A042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20A042
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20A042#FFFFFF#000000##000000
##20A0421.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29139
Deuteranopia (green-blind)
#94874A
Tritanopia (blue-blind)
#009C8B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #20a042;
/* rgb */ color: rgb(32, 160, 66);
/* oklch */ color: oklch(61.9% 0.171 147.2);
Tailwind
colors: {
  custom: {
    50: '#72bd79',
    500: '#20a042',
    950: '#000000',
  },
}
SCSS
$custom: #20a042;
$custom-light: #72bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#20a042",
  "rgb": {
    "r": 32,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 135.938,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61918,
    "c": 0.17099,
    "h": 147.2
  },
  "luminance": 0.25842
}

Semantic roles & 50–950 ramp

primary
#20A042
secondary
#C359A7
accent
#3EBCEA
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#091209
muted
#7B817B

Preview Lab

Preview with #20A042

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

Preview Lab → · Contrast checker → · Palette generator →

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