#42D579#42D579

#42D579 is a light, vivid green. Relative luminance 0.501; OKLCH L 77.4% C 0.180 H 151.7°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#42D579
RGBrgb(66, 213, 121)
HSLhsl(142, 64%, 55%)
HSVhsv(142, 69%, 84%)
CMYKcmyk(69%, 0%, 43.2%, 16.5%)
CIE-LABlab(76.15, -58.69, 34.46)
CIE-LCHlch(76.15, 68.06, 149.58°)
OKLaboklab(77.44% -0.1582 0.085)
OKLCHoklch(77.44% 0.18 151.7)
XYZxyz(29.4897, 50.1240, 26.2062)
Luminance0.5013 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D579 #D5429E
analogous
#55D542 #42D579 #42D5C2
triadic
#42D579 #7942D5 #D57942
tetradic
#42D579 #4255D5 #D5429E #D5C242
square
#42D579 #4255D5 #D5429E #D5C242
split-complementary
#42D579 #C242D5 #D54255
monochromatic
#1C8042 #28B25B #42D579 #74E09D #A6EBC0

Accessibility & contrast

On white

1.90
#42D579 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#42D579 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D579
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D579#FFFFFF#000000##000000
##42D5791.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C372
Deuteranopia (green-blind)
#C4B77F
Tritanopia (blue-blind)
#00D2BF
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #42d579;
/* rgb */ color: rgb(66, 213, 121);
/* oklch */ color: oklch(77.4% 0.180 151.7);
Tailwind
colors: {
  custom: {
    50: '#88e3a1',
    500: '#42d579',
    950: '#000000',
  },
}
SCSS
$custom: #42d579;
$custom-light: #88e3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#42d579",
  "rgb": {
    "r": 66,
    "g": 213,
    "b": 121
  },
  "hsl": {
    "h": 142.449,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77442,
    "c": 0.17956,
    "h": 151.7
  },
  "luminance": 0.50127
}

Semantic roles & 50–950 ramp

primary
#42D579
secondary
#873468
accent
#41A9E7
background
#FCFEFC
surface
#F4FCF5
border
#CED5CF
text
#0D160F
muted
#7F8480

Preview Lab

Preview with #42D579

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

Preview Lab → · Contrast checker → · Palette generator →

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