#42D587#42D587

#42D587 is a light, vivid green. Relative luminance 0.505; OKLCH L 77.7% C 0.167 H 155.5°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#42D587
RGBrgb(66, 213, 135)
HSLhsl(148, 64%, 55%)
HSVhsv(148, 69%, 84%)
CMYKcmyk(69%, 0%, 36.6%, 16.5%)
CIE-LABlab(76.37, -56.17, 27.60)
CIE-LCHlch(76.37, 62.58, 153.83°)
OKLaboklab(77.7% -0.1519 0.0692)
OKLCHoklch(77.7% 0.167 155.5)
XYZxyz(30.4114, 50.4926, 31.0603)
Luminance0.5050 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D587 #D54290
analogous
#47D542 #42D587 #42D5D0
triadic
#42D587 #8742D5 #D58742
tetradic
#42D587 #4247D5 #D54290 #D5D042
square
#42D587 #4247D5 #D54290 #D5D042
split-complementary
#42D587 #D042D5 #D54247
monochromatic
#1C804B #28B269 #42D587 #74E0A7 #A6EBC7

Accessibility & contrast

On white

1.89
#42D587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.10
#42D587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D587
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D587#FFFFFF#000000##000000
##42D5871.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C482
Deuteranopia (green-blind)
#C2B78C
Tritanopia (blue-blind)
#00D3C1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #42d587;
/* rgb */ color: rgb(66, 213, 135);
/* oklch */ color: oklch(77.7% 0.167 155.5);
Tailwind
colors: {
  custom: {
    50: '#88e3aa',
    500: '#42d587',
    950: '#000000',
  },
}
SCSS
$custom: #42d587;
$custom-light: #88e3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#42d587",
  "rgb": {
    "r": 66,
    "g": 213,
    "b": 135
  },
  "hsl": {
    "h": 148.163,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77702,
    "c": 0.16692,
    "h": 155.5
  },
  "luminance": 0.50496
}

Semantic roles & 50–950 ramp

primary
#42D587
secondary
#873460
accent
#4199E7
background
#FCFEFD
surface
#F4FCF7
border
#CED5D0
text
#0D1610
muted
#7F8481

Preview Lab

Preview with #42D587

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

Preview Lab → · Contrast checker → · Palette generator →

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