#42D987#42D987

#42D987 is a light, vivid green. Relative luminance 0.525; OKLCH L 78.7% C 0.172 H 154.9°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#42D987
RGBrgb(66, 217, 135)
HSLhsl(147, 67%, 55%)
HSVhsv(147, 70%, 85%)
CMYKcmyk(69.6%, 0%, 37.8%, 14.9%)
CIE-LABlab(77.60, -57.68, 29.24)
CIE-LCHlch(77.60, 64.66, 153.12°)
OKLaboklab(78.71% -0.1558 0.0731)
OKLCHoklch(78.71% 0.172 154.9)
XYZxyz(31.4299, 52.5297, 31.3998)
Luminance0.5253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D987 #D94294
analogous
#48D942 #42D987 #42D9D2
triadic
#42D987 #8742D9 #D98742
tetradic
#42D987 #4248D9 #D94294 #D9D242
square
#42D987 #4248D9 #D94294 #D9D242
split-complementary
#42D987 #D242D9 #D94248
monochromatic
#1B864C #25B969 #42D987 #75E3A7 #A8EDC8

Accessibility & contrast

On white

1.83
#42D987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#42D987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D987
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D987#FFFFFF#000000##000000
##42D9871.001.8311.5111.51
#FFFFFF1.831.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C881
Deuteranopia (green-blind)
#C6BA8C
Tritanopia (blue-blind)
#00D7C4
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #42d987;
/* rgb */ color: rgb(66, 217, 135);
/* oklch */ color: oklch(78.7% 0.172 154.9);
Tailwind
colors: {
  custom: {
    50: '#89e6aa',
    500: '#42d987',
    950: '#000000',
  },
}
SCSS
$custom: #42d987;
$custom-light: #89e6aa;
$custom-dark: #000000;
JSON
{
  "hex": "#42d987",
  "rgb": {
    "r": 66,
    "g": 217,
    "b": 135
  },
  "hsl": {
    "h": 147.417,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78711,
    "c": 0.17211,
    "h": 154.9
  },
  "luminance": 0.52533
}

Semantic roles & 50–950 ramp

primary
#42D987
secondary
#8C3363
accent
#3E9BE9
background
#FCFEFD
surface
#F4FCF7
border
#CED5D0
text
#0D1610
muted
#7F8481

Preview Lab

Preview with #42D987

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

Preview Lab → · Contrast checker → · Palette generator →

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