#42D87C#42D87C

#42D87C is a light, vivid green. Relative luminance 0.517; OKLCH L 78.3% C 0.181 H 152.1°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#42D87C
RGBrgb(66, 216, 124)
HSLhsl(143, 66%, 55%)
HSVhsv(143, 69%, 85%)
CMYKcmyk(69.4%, 0%, 42.6%, 15.3%)
CIE-LABlab(77.11, -59.27, 34.21)
CIE-LCHlch(77.11, 68.43, 150.01°)
OKLaboklab(78.26% -0.1597 0.0845)
OKLCHoklch(78.26% 0.181 152.1)
XYZxyz(30.4381, 51.7218, 27.4440)
Luminance0.5172 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D87C #D8429E
analogous
#53D842 #42D87C #42D8C7
triadic
#42D87C #7C42D8 #D87C42
tetradic
#42D87C #4253D8 #D8429E #D8C742
square
#42D87C #4253D8 #D8429E #D8C742
split-complementary
#42D87C #C742D8 #D84253
monochromatic
#1B8444 #26B75E #42D87C #75E29F #A7EDC2

Accessibility & contrast

On white

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

On black

11.35
#42D87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D87C
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D87C#FFFFFF#000000##000000
##42D87C1.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42d87c;
/* rgb */ color: rgb(66, 216, 124);
/* oklch */ color: oklch(78.3% 0.181 152.1);
Tailwind
colors: {
  custom: {
    50: '#89e5a3',
    500: '#42d87c',
    950: '#000000',
  },
}
SCSS
$custom: #42d87c;
$custom-light: #89e5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#42d87c",
  "rgb": {
    "r": 66,
    "g": 216,
    "b": 124
  },
  "hsl": {
    "h": 143.2,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78256,
    "c": 0.18071,
    "h": 152.1
  },
  "luminance": 0.51725
}

Semantic roles & 50–950 ramp

primary
#42D87C
secondary
#8B3369
accent
#3FA7E9
background
#FCFEFC
surface
#F4FCF5
border
#CED5CF
text
#0D160F
muted
#7F8480

Preview Lab

Preview with #42D87C

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

Preview Lab → · Contrast checker → · Palette generator →

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