#42D862#42D862

#42D862 is a light, highly saturated green. Relative luminance 0.512; OKLCH L 77.9% C 0.203 H 146.9°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#42D862
RGBrgb(66, 216, 98)
HSLhsl(133, 66%, 55%)
HSVhsv(133, 69%, 85%)
CMYKcmyk(69.4%, 0%, 54.6%, 15.3%)
CIE-LABlab(76.77, -63.24, 46.45)
CIE-LCHlch(76.77, 78.47, 143.70°)
OKLaboklab(77.86% -0.1705 0.111)
OKLCHoklch(77.86% 0.203 146.9)
XYZxyz(29.0051, 51.1486, 19.8970)
Luminance0.5115 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D862 #D842B8
analogous
#6DD842 #42D862 #42D8AD
triadic
#42D862 #6242D8 #D86242
tetradic
#42D862 #426DD8 #D842B8 #D8AD42
square
#42D862 #426DD8 #D842B8 #D8AD42
split-complementary
#42D862 #AD42D8 #D8426D
monochromatic
#1B8432 #26B745 #42D862 #75E28C #A7EDB6

Accessibility & contrast

On white

1.87
#42D862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#42D862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D862
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D862#FFFFFF#000000##000000
##42D8621.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC557
Deuteranopia (green-blind)
#C9B96B
Tritanopia (blue-blind)
#00D3BE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #42d862;
/* rgb */ color: rgb(66, 216, 98);
/* oklch */ color: oklch(77.9% 0.203 146.9);
Tailwind
colors: {
  custom: {
    50: '#89e591',
    500: '#42d862',
    950: '#000000',
  },
}
SCSS
$custom: #42d862;
$custom-light: #89e591;
$custom-dark: #000000;
JSON
{
  "hex": "#42d862",
  "rgb": {
    "r": 66,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 132.8,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77859,
    "c": 0.20343,
    "h": 146.9
  },
  "luminance": 0.51152
}

Semantic roles & 50–950 ramp

primary
#42D862
secondary
#8B3378
accent
#3FC5E9
background
#FCFEFC
surface
#F4FCF4
border
#CED5CE
text
#0D160D
muted
#7F847F

Preview Lab

Preview with #42D862

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

Preview Lab → · Contrast checker → · Palette generator →

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