#42D87F#42D87F

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

Color values

HEX#42D87F
RGBrgb(66, 216, 127)
HSLhsl(144, 66%, 55%)
HSVhsv(144, 69%, 85%)
CMYKcmyk(69.4%, 0%, 41.2%, 15.3%)
CIE-LABlab(77.16, -58.75, 32.75)
CIE-LCHlch(77.16, 67.26, 150.86°)
OKLaboklab(78.31% -0.1584 0.0812)
OKLCHoklch(78.31% 0.178 152.9)
XYZxyz(30.6307, 51.7989, 28.4584)
Luminance0.5180 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D87F #D8429B
analogous
#50D842 #42D87F #42D8CA
triadic
#42D87F #7F42D8 #D87F42
tetradic
#42D87F #4250D8 #D8429B #D8CA42
square
#42D87F #4250D8 #D8429B #D8CA42
split-complementary
#42D87F #CA42D8 #D84250
monochromatic
#1B8446 #26B761 #42D87F #75E2A1 #A7EDC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42D87F#FFFFFF#000000##000000
##42D87F1.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)
#D8C679
Deuteranopia (green-blind)
#C6B985
Tritanopia (blue-blind)
#00D5C2
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #42d87f;
/* rgb */ color: rgb(66, 216, 127);
/* oklch */ color: oklch(78.3% 0.178 152.9);
Tailwind
colors: {
  custom: {
    50: '#89e5a5',
    500: '#42d87f',
    950: '#000000',
  },
}
SCSS
$custom: #42d87f;
$custom-light: #89e5a5;
$custom-dark: #000000;
JSON
{
  "hex": "#42d87f",
  "rgb": {
    "r": 66,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 144.4,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78309,
    "c": 0.17801,
    "h": 152.9
  },
  "luminance": 0.51802
}

Semantic roles & 50–950 ramp

primary
#42D87F
secondary
#8B3367
accent
#3FA4E9
background
#FCFEFC
surface
#F4FCF6
border
#CED5D0
text
#0D160F
muted
#7F8480

Preview Lab

Preview with #42D87F

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

Preview Lab → · Contrast checker → · Palette generator →

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