#42C571#42C571

#42C571 is a light, vivid green. Relative luminance 0.423; OKLCH L 73.2% C 0.166 H 151.6°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#42C571
RGBrgb(66, 197, 113)
HSLhsl(142, 53%, 52%)
HSVhsv(142, 66%, 77%)
CMYKcmyk(66.5%, 0%, 42.6%, 22.7%)
CIE-LABlab(71.06, -54.10, 31.95)
CIE-LCHlch(71.06, 62.83, 149.43°)
OKLaboklab(73.21% -0.1459 0.079)
OKLCHoklch(73.21% 0.166 151.6)
XYZxyz(25.1916, 42.2803, 22.4529)
Luminance0.4228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C571 #C54296
analogous
#55C542 #42C571 #42C5B3
triadic
#42C571 #7142C5 #C57142
tetradic
#42C571 #4255C5 #C54296 #C5B342
square
#42C571 #4255C5 #C54296 #C5B342
split-complementary
#42C571 #B342C5 #C54255
monochromatic
#216C3C #2F9A56 #42C571 #71D394 #A0E2B7

Accessibility & contrast

On white

2.22
#42C571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#42C571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C571
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C571#FFFFFF#000000##000000
##42C5711.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B56B
Deuteranopia (green-blind)
#B5A977
Tritanopia (blue-blind)
#00C2B0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #42c571;
/* rgb */ color: rgb(66, 197, 113);
/* oklch */ color: oklch(73.2% 0.166 151.6);
Tailwind
colors: {
  custom: {
    50: '#85d89b',
    500: '#42c571',
    950: '#000000',
  },
}
SCSS
$custom: #42c571;
$custom-light: #85d89b;
$custom-dark: #000000;
JSON
{
  "hex": "#42c571",
  "rgb": {
    "r": 66,
    "g": 197,
    "b": 113
  },
  "hsl": {
    "h": 141.527,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73213,
    "c": 0.16593,
    "h": 151.6
  },
  "luminance": 0.42283
}

Semantic roles & 50–950 ramp

primary
#42C571
secondary
#CE95BA
accent
#4BA8DC
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #42C571

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

Preview Lab → · Contrast checker → · Palette generator →

#42C571 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva