#42D887#42D887

#42D887 is a light, vivid green. Relative luminance 0.520; OKLCH L 78.5% C 0.171 H 155.0°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#42D887
RGBrgb(66, 216, 135)
HSLhsl(148, 66%, 55%)
HSVhsv(148, 69%, 85%)
CMYKcmyk(69.4%, 0%, 37.5%, 15.3%)
CIE-LABlab(77.29, -57.30, 28.83)
CIE-LCHlch(77.29, 64.14, 153.29°)
OKLaboklab(78.46% -0.1549 0.0721)
OKLCHoklch(78.46% 0.171 155)
XYZxyz(31.1730, 52.0158, 31.3141)
Luminance0.5202 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D887 #D84293
analogous
#48D842 #42D887 #42D8D2
triadic
#42D887 #8742D8 #D88742
tetradic
#42D887 #4248D8 #D84293 #D8D242
square
#42D887 #4248D8 #D84293 #D8D242
split-complementary
#42D887 #D242D8 #D84248
monochromatic
#1B844C #26B769 #42D887 #75E2A7 #A7EDC7

Accessibility & contrast

On white

1.84
#42D887 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#42D887 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D887
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D887#FFFFFF#000000##000000
##42D8871.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C782
Deuteranopia (green-blind)
#C5BA8C
Tritanopia (blue-blind)
#00D6C3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #42d887;
/* rgb */ color: rgb(66, 216, 135);
/* oklch */ color: oklch(78.5% 0.171 155.0);
Tailwind
colors: {
  custom: {
    50: '#89e5aa',
    500: '#42d887',
    950: '#000000',
  },
}
SCSS
$custom: #42d887;
$custom-light: #89e5aa;
$custom-dark: #000000;
JSON
{
  "hex": "#42d887",
  "rgb": {
    "r": 66,
    "g": 216,
    "b": 135
  },
  "hsl": {
    "h": 147.6,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78459,
    "c": 0.17082,
    "h": 155
  },
  "luminance": 0.52019
}

Semantic roles & 50–950 ramp

primary
#42D887
secondary
#8B3363
accent
#3F9BE9
background
#FCFEFD
surface
#F4FCF7
border
#CED5D0
text
#0D1610
muted
#7F8481

Preview Lab

Preview with #42D887

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

Preview Lab → · Contrast checker → · Palette generator →

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