#42D757#42D757

#42D757 is a light, highly saturated green. Relative luminance 0.504; OKLCH L 77.5% C 0.211 H 145.3°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#42D757
RGBrgb(66, 215, 87)
HSLhsl(128, 65%, 55%)
HSVhsv(128, 69%, 84%)
CMYKcmyk(69.3%, 0%, 59.5%, 15.7%)
CIE-LABlab(76.34, -64.28, 50.96)
CIE-LCHlch(76.34, 82.03, 141.59°)
OKLaboklab(77.47% -0.1736 0.12)
OKLCHoklch(77.47% 0.211 145.3)
XYZxyz(28.2656, 50.4442, 17.2620)
Luminance0.5045 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D757 #D742C2
analogous
#78D742 #42D757 #42D7A1
triadic
#42D757 #5742D7 #D75742
tetradic
#42D757 #4278D7 #D742C2 #D7A142
square
#42D757 #4278D7 #D742C2 #D7A142
split-complementary
#42D757 #A142D7 #D74278
monochromatic
#1C832A #26B53B #42D757 #75E284 #A7ECB1

Accessibility & contrast

On white

1.89
#42D757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#42D757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D757
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D757#FFFFFF#000000##000000
##42D7571.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC449
Deuteranopia (green-blind)
#C9B862
Tritanopia (blue-blind)
#00D2BB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #42d757;
/* rgb */ color: rgb(66, 215, 87);
/* oklch */ color: oklch(77.5% 0.211 145.3);
Tailwind
colors: {
  custom: {
    50: '#8ae58a',
    500: '#42d757',
    950: '#000000',
  },
}
SCSS
$custom: #42d757;
$custom-light: #8ae58a;
$custom-dark: #000000;
JSON
{
  "hex": "#42d757",
  "rgb": {
    "r": 66,
    "g": 215,
    "b": 87
  },
  "hsl": {
    "h": 128.456,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77466,
    "c": 0.21107,
    "h": 145.3
  },
  "luminance": 0.50447
}

Semantic roles & 50–950 ramp

primary
#42D757
secondary
#8A347E
accent
#40D0E8
background
#FCFEFC
surface
#F4FCF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #42D757

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

Preview Lab → · Contrast checker → · Palette generator →

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