#42DC71#42DC71

#42DC71 is a light, vivid green. Relative luminance 0.535; OKLCH L 79.1% C 0.196 H 149.3°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#42DC71
RGBrgb(66, 220, 113)
HSLhsl(138, 69%, 56%)
HSVhsv(138, 70%, 86%)
CMYKcmyk(70%, 0%, 48.6%, 13.7%)
CIE-LABlab(78.19, -62.49, 41.03)
CIE-LCHlch(78.19, 74.76, 146.71°)
OKLaboklab(79.09% -0.1682 0.0998)
OKLCHoklch(79.09% 0.196 149.3)
XYZxyz(30.8182, 53.5335, 24.3284)
Luminance0.5354 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42DC71 #DC42AD
analogous
#60DC42 #42DC71 #42DCBE
triadic
#42DC71 #7142DC #DC7142
tetradic
#42DC71 #4260DC #DC42AD #DCBE42
square
#42DC71 #4260DC #DC42AD #DCBE42
split-complementary
#42DC71 #BE42DC #DC4260
monochromatic
#1A8A3C #23BE52 #42DC71 #76E698 #A9EFBF

Accessibility & contrast

On white

1.79
#42DC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#42DC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42DC71
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42DC71#FFFFFF#000000##000000
##42DC711.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC968
Deuteranopia (green-blind)
#CBBC79
Tritanopia (blue-blind)
#00D8C3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #42dc71;
/* rgb */ color: rgb(66, 220, 113);
/* oklch */ color: oklch(79.1% 0.196 149.3);
Tailwind
colors: {
  custom: {
    50: '#8ae89b',
    500: '#42dc71',
    950: '#000000',
  },
}
SCSS
$custom: #42dc71;
$custom-light: #8ae89b;
$custom-dark: #000000;
JSON
{
  "hex": "#42dc71",
  "rgb": {
    "r": 66,
    "g": 220,
    "b": 113
  },
  "hsl": {
    "h": 138.312,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79093,
    "c": 0.19558,
    "h": 149.3
  },
  "luminance": 0.53537
}

Semantic roles & 50–950 ramp

primary
#42DC71
secondary
#903273
accent
#3CB6EC
background
#FCFEFC
surface
#F4FDF5
border
#CED5CF
text
#0D160E
muted
#7F847F

Preview Lab

Preview with #42DC71

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

Preview Lab → · Contrast checker → · Palette generator →

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