#42D87B#42D87B

#42D87B is a light, vivid green. Relative luminance 0.517; OKLCH L 78.2% C 0.182 H 151.9°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#42D87B
RGBrgb(66, 216, 123)
HSLhsl(143, 66%, 55%)
HSVhsv(143, 69%, 85%)
CMYKcmyk(69.4%, 0%, 43.1%, 15.3%)
CIE-LABlab(77.10, -59.44, 34.69)
CIE-LCHlch(77.10, 68.83, 149.73°)
OKLaboklab(78.24% -0.1602 0.0856)
OKLCHoklch(78.24% 0.182 151.9)
XYZxyz(30.3752, 51.6967, 27.1127)
Luminance0.5170 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D87B #D8429F
analogous
#54D842 #42D87B #42D8C6
triadic
#42D87B #7B42D8 #D87B42
tetradic
#42D87B #4254D8 #D8429F #D8C642
square
#42D87B #4254D8 #D8429F #D8C642
split-complementary
#42D87B #C642D8 #D84254
monochromatic
#1B8443 #26B75D #42D87B #75E29E #A7EDC2

Accessibility & contrast

On white

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

On black

11.34
#42D87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D87B
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D87B#FFFFFF#000000##000000
##42D87B1.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42d87b;
/* rgb */ color: rgb(66, 216, 123);
/* oklch */ color: oklch(78.2% 0.182 151.9);
Tailwind
colors: {
  custom: {
    50: '#89e5a2',
    500: '#42d87b',
    950: '#000000',
  },
}
SCSS
$custom: #42d87b;
$custom-light: #89e5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#42d87b",
  "rgb": {
    "r": 66,
    "g": 216,
    "b": 123
  },
  "hsl": {
    "h": 142.8,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78239,
    "c": 0.18161,
    "h": 151.9
  },
  "luminance": 0.517
}

Semantic roles & 50–950 ramp

primary
#42D87B
secondary
#8B336A
accent
#3FA8E9
background
#FCFEFC
surface
#F4FCF5
border
#CED5CF
text
#0D160F
muted
#7F8480

Preview Lab

Preview with #42D87B

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

Preview Lab → · Contrast checker → · Palette generator →

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