#42CD87#42CD87

#42CD87 is a light, vivid green. Relative luminance 0.466; OKLCH L 75.7% C 0.156 H 157.0°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#42CD87
RGBrgb(66, 205, 135)
HSLhsl(150, 58%, 53%)
HSVhsv(150, 68%, 80%)
CMYKcmyk(67.8%, 0%, 34.1%, 19.6%)
CIE-LABlab(73.91, -53.09, 24.29)
CIE-LCHlch(73.91, 58.39, 155.41°)
OKLaboklab(75.68% -0.144 0.0612)
OKLCHoklch(75.68% 0.156 157)
XYZxyz(28.4486, 46.5670, 30.4060)
Luminance0.4657 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CD87 #CD4288
analogous
#42CD42 #42CD87 #42CDCC
triadic
#42CD87 #8742CD #CD8742
tetradic
#42CD87 #4242CD #CD4288 #CDCC42
square
#42CD87 #4242CD #CD4288 #CDCC42
split-complementary
#42CD87 #CC42CD #CD4242
monochromatic
#1F764A #2CA668 #42CD87 #72DAA6 #A3E7C4

Accessibility & contrast

On white

2.04
#42CD87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#42CD87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42CD87
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42CD87#FFFFFF#000000##000000
##42CD871.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBD83
Deuteranopia (green-blind)
#BAB18C
Tritanopia (blue-blind)
#00CBBB
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #42cd87;
/* rgb */ color: rgb(66, 205, 135);
/* oklch */ color: oklch(75.7% 0.156 157.0);
Tailwind
colors: {
  custom: {
    50: '#87ddaa',
    500: '#42cd87',
    950: '#000000',
  },
}
SCSS
$custom: #42cd87;
$custom-light: #87ddaa;
$custom-dark: #000000;
JSON
{
  "hex": "#42cd87",
  "rgb": {
    "r": 66,
    "g": 205,
    "b": 135
  },
  "hsl": {
    "h": 149.784,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75679,
    "c": 0.15645,
    "h": 157
  },
  "luminance": 0.4657
}

Semantic roles & 50–950 ramp

primary
#42CD87
secondary
#D397B6
accent
#4694E1
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0D1510
muted
#7D837F

Preview Lab

Preview with #42CD87

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

Preview Lab → · Contrast checker → · Palette generator →

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