#42D788#42D788

#42D788 is a light, vivid green. Relative luminance 0.515; OKLCH L 78.2% C 0.169 H 155.5°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#42D788
RGBrgb(66, 215, 136)
HSLhsl(148, 65%, 55%)
HSVhsv(148, 69%, 84%)
CMYKcmyk(69.3%, 0%, 36.7%, 15.7%)
CIE-LABlab(77.00, -56.74, 27.93)
CIE-LCHlch(77.00, 63.24, 153.79°)
OKLaboklab(78.23% -0.1534 0.07)
OKLCHoklch(78.23% 0.169 155.5)
XYZxyz(30.9883, 51.5332, 31.6015)
Luminance0.5154 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D788 #D74291
analogous
#46D742 #42D788 #42D7D3
triadic
#42D788 #8842D7 #D78842
tetradic
#42D788 #4246D7 #D74291 #D7D342
square
#42D788 #4246D7 #D74291 #D7D342
split-complementary
#42D788 #D342D7 #D74246
monochromatic
#1C834C #26B56A #42D788 #75E2A8 #A7ECC8

Accessibility & contrast

On white

1.86
#42D788 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#42D788 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D788
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D788#FFFFFF#000000##000000
##42D7881.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C683
Deuteranopia (green-blind)
#C3B98D
Tritanopia (blue-blind)
#00D5C3
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #42d788;
/* rgb */ color: rgb(66, 215, 136);
/* oklch */ color: oklch(78.2% 0.169 155.5);
Tailwind
colors: {
  custom: {
    50: '#89e4ab',
    500: '#42d788',
    950: '#000000',
  },
}
SCSS
$custom: #42d788;
$custom-light: #89e4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#42d788",
  "rgb": {
    "r": 66,
    "g": 215,
    "b": 136
  },
  "hsl": {
    "h": 148.188,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78226,
    "c": 0.16863,
    "h": 155.5
  },
  "luminance": 0.51537
}

Semantic roles & 50–950 ramp

primary
#42D788
secondary
#8A3461
accent
#4099E8
background
#FCFEFD
surface
#F4FCF7
border
#CED5D0
text
#0D1610
muted
#7F8481

Preview Lab

Preview with #42D788

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

Preview Lab → · Contrast checker → · Palette generator →

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