#42D562#42D562

#42D562 is a light, vivid green. Relative luminance 0.496; OKLCH L 77.1% C 0.200 H 147.1°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#42D562
RGBrgb(66, 213, 98)
HSLhsl(133, 64%, 55%)
HSVhsv(133, 69%, 84%)
CMYKcmyk(69%, 0%, 54%, 16.5%)
CIE-LABlab(75.84, -62.20, 45.33)
CIE-LCHlch(75.84, 76.97, 143.91°)
OKLaboklab(77.09% -0.1677 0.1086)
OKLCHoklch(77.09% 0.2 147.1)
XYZxyz(28.2436, 49.6255, 19.6431)
Luminance0.4963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D562 #D542B5
analogous
#6CD542 #42D562 #42D5AB
triadic
#42D562 #6242D5 #D56242
tetradic
#42D562 #426CD5 #D542B5 #D5AB42
square
#42D562 #426CD5 #D542B5 #D5AB42
split-complementary
#42D562 #AB42D5 #D5426C
monochromatic
#1C8032 #28B246 #42D562 #74E08C #A6EBB5

Accessibility & contrast

On white

1.92
#42D562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#42D562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D562
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D562#FFFFFF#000000##000000
##42D5621.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C257
Deuteranopia (green-blind)
#C6B66B
Tritanopia (blue-blind)
#00D0BB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #42d562;
/* rgb */ color: rgb(66, 213, 98);
/* oklch */ color: oklch(77.1% 0.200 147.1);
Tailwind
colors: {
  custom: {
    50: '#89e391',
    500: '#42d562',
    950: '#000000',
  },
}
SCSS
$custom: #42d562;
$custom-light: #89e391;
$custom-dark: #000000;
JSON
{
  "hex": "#42d562",
  "rgb": {
    "r": 66,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 133.061,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77089,
    "c": 0.19975,
    "h": 147.1
  },
  "luminance": 0.49629
}

Semantic roles & 50–950 ramp

primary
#42D562
secondary
#D89ACB
accent
#41C3E7
background
#F9FEF9
surface
#F1FCF1
border
#CBD5CB
text
#0D160D
muted
#7E847E

Preview Lab

Preview with #42D562

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

Preview Lab → · Contrast checker → · Palette generator →

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