#42D787#42D787

#42D787 is a light, vivid green. Relative luminance 0.515; OKLCH L 78.2% C 0.170 H 155.2°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#42D787
RGBrgb(66, 215, 135)
HSLhsl(148, 65%, 55%)
HSVhsv(148, 69%, 84%)
CMYKcmyk(69.3%, 0%, 37.2%, 15.7%)
CIE-LABlab(76.98, -56.92, 28.42)
CIE-LCHlch(76.98, 63.63, 153.47°)
OKLaboklab(78.21% -0.1539 0.0711)
OKLCHoklch(78.21% 0.17 155.2)
XYZxyz(30.9175, 51.5049, 31.2290)
Luminance0.5151 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D787 #D74292
analogous
#47D742 #42D787 #42D7D1
triadic
#42D787 #8742D7 #D78742
tetradic
#42D787 #4247D7 #D74292 #D7D142
square
#42D787 #4247D7 #D74292 #D7D142
split-complementary
#42D787 #D142D7 #D74247
monochromatic
#1C834B #26B569 #42D787 #75E2A7 #A7ECC7

Accessibility & contrast

On white

1.86
#42D787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#42D787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D787
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D787#FFFFFF#000000##000000
##42D7871.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C682
Deuteranopia (green-blind)
#C4B98C
Tritanopia (blue-blind)
#00D5C3
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #42d787;
/* rgb */ color: rgb(66, 215, 135);
/* oklch */ color: oklch(78.2% 0.170 155.2);
Tailwind
colors: {
  custom: {
    50: '#89e4aa',
    500: '#42d787',
    950: '#000000',
  },
}
SCSS
$custom: #42d787;
$custom-light: #89e4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#42d787",
  "rgb": {
    "r": 66,
    "g": 215,
    "b": 135
  },
  "hsl": {
    "h": 147.785,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78207,
    "c": 0.16952,
    "h": 155.2
  },
  "luminance": 0.51508
}

Semantic roles & 50–950 ramp

primary
#42D787
secondary
#8A3462
accent
#409AE8
background
#FCFEFD
surface
#F4FCF7
border
#CED5D0
text
#0D1610
muted
#7F8481

Preview Lab

Preview with #42D787

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

Preview Lab → · Contrast checker → · Palette generator →

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