#42D888#42D888

#42D888 is a light, vivid green. Relative luminance 0.520; OKLCH L 78.5% C 0.170 H 155.3°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#42D888
RGBrgb(66, 216, 136)
HSLhsl(148, 66%, 55%)
HSVhsv(148, 69%, 85%)
CMYKcmyk(69.4%, 0%, 37%, 15.3%)
CIE-LABlab(77.31, -57.11, 28.34)
CIE-LCHlch(77.31, 63.76, 153.61°)
OKLaboklab(78.48% -0.1544 0.0709)
OKLCHoklch(78.48% 0.17 155.3)
XYZxyz(31.2437, 52.0441, 31.6867)
Luminance0.5205 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D888 #D84292
analogous
#47D842 #42D888 #42D8D3
triadic
#42D888 #8842D8 #D88842
tetradic
#42D888 #4247D8 #D84292 #D8D342
square
#42D888 #4247D8 #D84292 #D8D342
split-complementary
#42D888 #D342D8 #D84247
monochromatic
#1B844C #26B76A #42D888 #75E2A8 #A7EDC8

Accessibility & contrast

On white

1.84
#42D888 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#42D888 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D888
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D888#FFFFFF#000000##000000
##42D8881.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C783
Deuteranopia (green-blind)
#C4BA8D
Tritanopia (blue-blind)
#00D6C4
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #42d888;
/* rgb */ color: rgb(66, 216, 136);
/* oklch */ color: oklch(78.5% 0.170 155.3);
Tailwind
colors: {
  custom: {
    50: '#89e5ab',
    500: '#42d888',
    950: '#000000',
  },
}
SCSS
$custom: #42d888;
$custom-light: #89e5ab;
$custom-dark: #000000;
JSON
{
  "hex": "#42d888",
  "rgb": {
    "r": 66,
    "g": 216,
    "b": 136
  },
  "hsl": {
    "h": 148,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78478,
    "c": 0.16993,
    "h": 155.3
  },
  "luminance": 0.52048
}

Semantic roles & 50–950 ramp

primary
#42D888
secondary
#8B3362
accent
#3F9AE9
background
#FCFEFD
surface
#F4FCF7
border
#CED5D0
text
#0D1610
muted
#7F8481

Preview Lab

Preview with #42D888

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

Preview Lab → · Contrast checker → · Palette generator →

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