#42D981#42D981

#42D981 is a light, vivid green. Relative luminance 0.524; OKLCH L 78.6% C 0.177 H 153.2°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#42D981
RGBrgb(66, 217, 129)
HSLhsl(145, 67%, 55%)
HSVhsv(145, 70%, 85%)
CMYKcmyk(69.6%, 0%, 40.6%, 14.9%)
CIE-LABlab(77.50, -58.77, 32.18)
CIE-LCHlch(77.50, 67.00, 151.30°)
OKLaboklab(78.6% -0.1585 0.0799)
OKLCHoklch(78.6% 0.178 153.2)
XYZxyz(31.0193, 52.3655, 29.2374)
Luminance0.5237 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D981 #D9429A
analogous
#4ED942 #42D981 #42D9CC
triadic
#42D981 #8142D9 #D98142
tetradic
#42D981 #424ED9 #D9429A #D9CC42
square
#42D981 #424ED9 #D9429A #D9CC42
split-complementary
#42D981 #CC42D9 #D9424E
monochromatic
#1B8647 #25B963 #42D981 #75E3A3 #A8EDC5

Accessibility & contrast

On white

1.83
#42D981 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#42D981 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D981
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D981#FFFFFF#000000##000000
##42D9811.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C77B
Deuteranopia (green-blind)
#C6BA87
Tritanopia (blue-blind)
#00D6C3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #42d981;
/* rgb */ color: rgb(66, 217, 129);
/* oklch */ color: oklch(78.6% 0.177 153.2);
Tailwind
colors: {
  custom: {
    50: '#89e6a6',
    500: '#42d981',
    950: '#000000',
  },
}
SCSS
$custom: #42d981;
$custom-light: #89e6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#42d981",
  "rgb": {
    "r": 66,
    "g": 217,
    "b": 129
  },
  "hsl": {
    "h": 145.033,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78599,
    "c": 0.1775,
    "h": 153.2
  },
  "luminance": 0.52369
}

Semantic roles & 50–950 ramp

primary
#42D981
secondary
#8C3367
accent
#3EA2E9
background
#FCFEFC
surface
#F4FCF6
border
#CED5D0
text
#0D160F
muted
#7F8480

Preview Lab

Preview with #42D981

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

Preview Lab → · Contrast checker → · Palette generator →

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