#42D979#42D979

#42D979 is a light, vivid green. Relative luminance 0.522; OKLCH L 78.5% C 0.185 H 151.3°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#42D979
RGBrgb(66, 217, 121)
HSLhsl(142, 67%, 55%)
HSVhsv(142, 70%, 85%)
CMYKcmyk(69.6%, 0%, 44.2%, 14.9%)
CIE-LABlab(77.38, -60.14, 36.05)
CIE-LCHlch(77.38, 70.12, 149.06°)
OKLaboklab(78.46% -0.162 0.0887)
OKLCHoklch(78.46% 0.185 151.3)
XYZxyz(30.5083, 52.1610, 26.5457)
Luminance0.5216 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D979 #D942A2
analogous
#56D942 #42D979 #42D9C4
triadic
#42D979 #7942D9 #D97942
tetradic
#42D979 #4256D9 #D942A2 #D9C442
square
#42D979 #4256D9 #D942A2 #D9C442
split-complementary
#42D979 #C442D9 #D94256
monochromatic
#1B8642 #25B95B #42D979 #75E39D #A8EDC1

Accessibility & contrast

On white

1.84
#42D979 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#42D979 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D979
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D979#FFFFFF#000000##000000
##42D9791.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC772
Deuteranopia (green-blind)
#C7BA80
Tritanopia (blue-blind)
#00D6C2
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #42d979;
/* rgb */ color: rgb(66, 217, 121);
/* oklch */ color: oklch(78.5% 0.185 151.3);
Tailwind
colors: {
  custom: {
    50: '#89e6a1',
    500: '#42d979',
    950: '#000000',
  },
}
SCSS
$custom: #42d979;
$custom-light: #89e6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#42d979",
  "rgb": {
    "r": 66,
    "g": 217,
    "b": 121
  },
  "hsl": {
    "h": 141.854,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78458,
    "c": 0.18469,
    "h": 151.3
  },
  "luminance": 0.52164
}

Semantic roles & 50–950 ramp

primary
#42D979
secondary
#8C336C
accent
#3EABE9
background
#FCFEFC
surface
#F4FCF5
border
#CED5CF
text
#0D160F
muted
#7F8480

Preview Lab

Preview with #42D979

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

Preview Lab → · Contrast checker → · Palette generator →

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