#42D879#42D879

#42D879 is a light, vivid green. Relative luminance 0.516; OKLCH L 78.2% C 0.183 H 151.4°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#42D879
RGBrgb(66, 216, 121)
HSLhsl(142, 66%, 55%)
HSVhsv(142, 69%, 85%)
CMYKcmyk(69.4%, 0%, 44%, 15.3%)
CIE-LABlab(77.07, -59.78, 35.66)
CIE-LCHlch(77.07, 69.61, 149.19°)
OKLaboklab(78.21% -0.161 0.0878)
OKLCHoklch(78.21% 0.183 151.4)
XYZxyz(30.2513, 51.6471, 26.4600)
Luminance0.5165 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D879 #D842A1
analogous
#56D842 #42D879 #42D8C4
triadic
#42D879 #7942D8 #D87942
tetradic
#42D879 #4256D8 #D842A1 #D8C442
square
#42D879 #4256D8 #D842A1 #D8C442
split-complementary
#42D879 #C442D8 #D84256
monochromatic
#1B8442 #26B75B #42D879 #75E29D #A7EDC1

Accessibility & contrast

On white

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

On black

11.33
#42D879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D879
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D879#FFFFFF#000000##000000
##42D8791.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C672
Deuteranopia (green-blind)
#C6B980
Tritanopia (blue-blind)
#00D5C1
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #42d879;
/* rgb */ color: rgb(66, 216, 121);
/* oklch */ color: oklch(78.2% 0.183 151.4);
Tailwind
colors: {
  custom: {
    50: '#89e5a1',
    500: '#42d879',
    950: '#000000',
  },
}
SCSS
$custom: #42d879;
$custom-light: #89e5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#42d879",
  "rgb": {
    "r": 66,
    "g": 216,
    "b": 121
  },
  "hsl": {
    "h": 142,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78205,
    "c": 0.18341,
    "h": 151.4
  },
  "luminance": 0.5165
}

Semantic roles & 50–950 ramp

primary
#42D879
secondary
#8B336B
accent
#3FABE9
background
#FCFEFC
surface
#F4FCF5
border
#CED5CF
text
#0D160F
muted
#7F8480

Preview Lab

Preview with #42D879

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

Preview Lab → · Contrast checker → · Palette generator →

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