#42D758#42D758

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

Color values

HEX#42D758
RGBrgb(66, 215, 88)
HSLhsl(129, 65%, 55%)
HSVhsv(129, 69%, 84%)
CMYKcmyk(69.3%, 0%, 59.1%, 15.7%)
CIE-LABlab(76.35, -64.16, 50.53)
CIE-LCHlch(76.35, 81.67, 141.78°)
OKLaboklab(77.48% -0.1733 0.1192)
OKLCHoklch(77.48% 0.21 145.5)
XYZxyz(28.3067, 50.4606, 17.4787)
Luminance0.5046 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D758 #D742C1
analogous
#76D742 #42D758 #42D7A2
triadic
#42D758 #5842D7 #D75842
tetradic
#42D758 #4276D7 #D742C1 #D7A242
square
#42D758 #4276D7 #D742C1 #D7A242
split-complementary
#42D758 #A242D7 #D74276
monochromatic
#1C832B #26B53C #42D758 #75E285 #A7ECB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42D758#FFFFFF#000000##000000
##42D7581.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)
#DAC44B
Deuteranopia (green-blind)
#C9B862
Tritanopia (blue-blind)
#00D2BB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #42d758;
/* rgb */ color: rgb(66, 215, 88);
/* oklch */ color: oklch(77.5% 0.210 145.5);
Tailwind
colors: {
  custom: {
    50: '#8ae58b',
    500: '#42d758',
    950: '#000000',
  },
}
SCSS
$custom: #42d758;
$custom-light: #8ae58b;
$custom-dark: #000000;
JSON
{
  "hex": "#42d758",
  "rgb": {
    "r": 66,
    "g": 215,
    "b": 88
  },
  "hsl": {
    "h": 128.859,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77478,
    "c": 0.21029,
    "h": 145.5
  },
  "luminance": 0.50464
}

Semantic roles & 50–950 ramp

primary
#42D758
secondary
#8A347D
accent
#40CFE8
background
#FCFEFC
surface
#F4FCF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #42D758

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

Preview Lab → · Contrast checker → · Palette generator →

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