#42E579#42E579

#42E579 is a light, vivid green. Relative luminance 0.586; OKLCH L 81.5% C 0.200 H 150.2°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#42E579
RGBrgb(66, 229, 121)
HSLhsl(140, 76%, 58%)
HSVhsv(140, 71%, 90%)
CMYKcmyk(71.2%, 0%, 47.2%, 10.2%)
CIE-LABlab(81.06, -64.41, 40.74)
CIE-LCHlch(81.06, 76.21, 147.68°)
OKLaboklab(81.5% -0.1733 0.0995)
OKLCHoklch(81.5% 0.2 150.2)
XYZxyz(33.7145, 58.5735, 27.6144)
Luminance0.5858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42E579 #E542AE
analogous
#5DE542 #42E579 #42E5CA
triadic
#42E579 #7942E5 #E57942
tetradic
#42E579 #425DE5 #E542AE #E5CA42
square
#42E579 #425DE5 #E542AE #E5CA42
split-complementary
#42E579 #CA42E5 #E5425D
monochromatic
#159841 #1CCE58 #42E579 #78EC9F #AEF4C5

Accessibility & contrast

On white

1.65
#42E579 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#42E579 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42E579
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42E579#FFFFFF#000000##000000
##42E5791.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D270
Deuteranopia (green-blind)
#D3C481
Tritanopia (blue-blind)
#00E1CB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #42e579;
/* rgb */ color: rgb(66, 229, 121);
/* oklch */ color: oklch(81.5% 0.200 150.2);
Tailwind
colors: {
  custom: {
    50: '#8beea1',
    500: '#42e579',
    950: '#000000',
  },
}
SCSS
$custom: #42e579;
$custom-light: #8beea1;
$custom-dark: #000000;
JSON
{
  "hex": "#42e579",
  "rgb": {
    "r": 66,
    "g": 229,
    "b": 121
  },
  "hsl": {
    "h": 140.245,
    "s": 75.814,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81497,
    "c": 0.19982,
    "h": 150.2
  },
  "luminance": 0.58577
}

Semantic roles & 50–950 ramp

primary
#42E579
secondary
#9C3077
accent
#35B3F2
background
#FCFFFC
surface
#F5FEF5
border
#CFD6CF
text
#0E170F
muted
#7F8580

Preview Lab

Preview with #42E579

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

Preview Lab → · Contrast checker → · Palette generator →

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