#42D877#42D877

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

Color values

HEX#42D877
RGBrgb(66, 216, 119)
HSLhsl(141, 66%, 55%)
HSVhsv(141, 69%, 85%)
CMYKcmyk(69.4%, 0%, 44.9%, 15.3%)
CIE-LABlab(77.04, -60.11, 36.62)
CIE-LCHlch(77.04, 70.39, 148.65°)
OKLaboklab(78.17% -0.1619 0.09)
OKLCHoklch(78.17% 0.185 150.9)
XYZxyz(30.1299, 51.5985, 25.8208)
Luminance0.5160 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D877 #D842A3
analogous
#58D842 #42D877 #42D8C2
triadic
#42D877 #7742D8 #D87742
tetradic
#42D877 #4258D8 #D842A3 #D8C242
square
#42D877 #4258D8 #D842A3 #D8C242
split-complementary
#42D877 #C242D8 #D84258
monochromatic
#1B8440 #26B759 #42D877 #75E29C #A7EDC0

Accessibility & contrast

On white

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

On black

11.32
#42D877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D877
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D877#FFFFFF#000000##000000
##42D8771.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42d877;
/* rgb */ color: rgb(66, 216, 119);
/* oklch */ color: oklch(78.2% 0.185 150.9);
Tailwind
colors: {
  custom: {
    50: '#89e59f',
    500: '#42d877',
    950: '#000000',
  },
}
SCSS
$custom: #42d877;
$custom-light: #89e59f;
$custom-dark: #000000;
JSON
{
  "hex": "#42d877",
  "rgb": {
    "r": 66,
    "g": 216,
    "b": 119
  },
  "hsl": {
    "h": 141.2,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78171,
    "c": 0.18521,
    "h": 150.9
  },
  "luminance": 0.51602
}

Semantic roles & 50–950 ramp

primary
#42D877
secondary
#8B336C
accent
#3FADE9
background
#FCFEFC
surface
#F4FCF5
border
#CED5CF
text
#0D160F
muted
#7F8480

Preview Lab

Preview with #42D877

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

Preview Lab → · Contrast checker → · Palette generator →

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