#42D871#42D871

#42D871 is a light, vivid green. Relative luminance 0.515; OKLCH L 78.1% C 0.191 H 149.7°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#42D871
RGBrgb(66, 216, 113)
HSLhsl(139, 66%, 55%)
HSVhsv(139, 69%, 85%)
CMYKcmyk(69.4%, 0%, 47.7%, 15.3%)
CIE-LABlab(76.96, -61.07, 39.49)
CIE-LCHlch(76.96, 72.72, 147.12°)
OKLaboklab(78.07% -0.1644 0.0963)
OKLCHoklch(78.07% 0.191 149.7)
XYZxyz(29.7809, 51.4589, 23.9827)
Luminance0.5146 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D871 #D842A9
analogous
#5ED842 #42D871 #42D8BC
triadic
#42D871 #7142D8 #D87142
tetradic
#42D871 #425ED8 #D842A9 #D8BC42
square
#42D871 #425ED8 #D842A9 #D8BC42
split-complementary
#42D871 #BC42D8 #D8425E
monochromatic
#1B843C #26B753 #42D871 #75E297 #A7EDBD

Accessibility & contrast

On white

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

On black

11.29
#42D871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D871
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D871#FFFFFF#000000##000000
##42D8711.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C669
Deuteranopia (green-blind)
#C7B978
Tritanopia (blue-blind)
#00D4C0
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #42d871;
/* rgb */ color: rgb(66, 216, 113);
/* oklch */ color: oklch(78.1% 0.191 149.7);
Tailwind
colors: {
  custom: {
    50: '#89e59b',
    500: '#42d871',
    950: '#000000',
  },
}
SCSS
$custom: #42d871;
$custom-light: #89e59b;
$custom-dark: #000000;
JSON
{
  "hex": "#42d871",
  "rgb": {
    "r": 66,
    "g": 216,
    "b": 113
  },
  "hsl": {
    "h": 138.8,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78074,
    "c": 0.19054,
    "h": 149.7
  },
  "luminance": 0.51462
}

Semantic roles & 50–950 ramp

primary
#42D871
secondary
#8B336F
accent
#3FB4E9
background
#FCFEFC
surface
#F4FCF5
border
#CED5CF
text
#0D160E
muted
#7F847F

Preview Lab

Preview with #42D871

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

Preview Lab → · Contrast checker → · Palette generator →

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