#42D87E#42D87E

#42D87E is a light, vivid green. Relative luminance 0.518; OKLCH L 78.3% C 0.179 H 152.6°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#42D87E
RGBrgb(66, 216, 126)
HSLhsl(144, 66%, 55%)
HSVhsv(144, 69%, 85%)
CMYKcmyk(69.4%, 0%, 41.7%, 15.3%)
CIE-LABlab(77.14, -58.93, 33.23)
CIE-LCHlch(77.14, 67.65, 150.58°)
OKLaboklab(78.29% -0.1589 0.0823)
OKLCHoklch(78.29% 0.179 152.6)
XYZxyz(30.5659, 51.7729, 28.1169)
Luminance0.5178 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D87E #D8429C
analogous
#51D842 #42D87E #42D8C9
triadic
#42D87E #7E42D8 #D87E42
tetradic
#42D87E #4251D8 #D8429C #D8C942
square
#42D87E #4251D8 #D8429C #D8C942
split-complementary
#42D87E #C942D8 #D84251
monochromatic
#1B8445 #26B760 #42D87E #75E2A1 #A7EDC3

Accessibility & contrast

On white

1.85
#42D87E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#42D87E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D87E
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D87E#FFFFFF#000000##000000
##42D87E1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C678
Deuteranopia (green-blind)
#C6B984
Tritanopia (blue-blind)
#00D5C2
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #42d87e;
/* rgb */ color: rgb(66, 216, 126);
/* oklch */ color: oklch(78.3% 0.179 152.6);
Tailwind
colors: {
  custom: {
    50: '#89e5a4',
    500: '#42d87e',
    950: '#000000',
  },
}
SCSS
$custom: #42d87e;
$custom-light: #89e5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#42d87e",
  "rgb": {
    "r": 66,
    "g": 216,
    "b": 126
  },
  "hsl": {
    "h": 144,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78292,
    "c": 0.17892,
    "h": 152.6
  },
  "luminance": 0.51776
}

Semantic roles & 50–950 ramp

primary
#42D87E
secondary
#8B3368
accent
#3FA5E9
background
#FCFEFC
surface
#F4FCF6
border
#CED5D0
text
#0D160F
muted
#7F8480

Preview Lab

Preview with #42D87E

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

Preview Lab → · Contrast checker → · Palette generator →

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