#42D462#42D462

#42D462 is a light, vivid green. Relative luminance 0.491; OKLCH L 76.8% C 0.199 H 147.1°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#42D462
RGBrgb(66, 212, 98)
HSLhsl(133, 63%, 55%)
HSVhsv(133, 69%, 83%)
CMYKcmyk(68.9%, 0%, 53.8%, 16.9%)
CIE-LABlab(75.53, -61.85, 44.96)
CIE-LCHlch(75.53, 76.47, 143.99°)
OKLaboklab(76.83% -0.1667 0.1077)
OKLCHoklch(76.83% 0.199 147.1)
XYZxyz(27.9928, 49.1240, 19.5595)
Luminance0.4913 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D462 #D442B4
analogous
#6BD442 #42D462 #42D4AB
triadic
#42D462 #6242D4 #D46242
tetradic
#42D462 #426BD4 #D442B4 #D4AB42
square
#42D462 #426BD4 #D442B4 #D4AB42
split-complementary
#42D462 #AB42D4 #D4426B
monochromatic
#1D7F32 #28B146 #42D462 #74DF8B #A6EBB5

Accessibility & contrast

On white

1.94
#42D462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#42D462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D462
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D462#FFFFFF#000000##000000
##42D4621.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C158
Deuteranopia (green-blind)
#C5B56B
Tritanopia (blue-blind)
#00CFBA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #42d462;
/* rgb */ color: rgb(66, 212, 98);
/* oklch */ color: oklch(76.8% 0.199 147.1);
Tailwind
colors: {
  custom: {
    50: '#89e291',
    500: '#42d462',
    950: '#000000',
  },
}
SCSS
$custom: #42d462;
$custom-light: #89e291;
$custom-dark: #000000;
JSON
{
  "hex": "#42d462",
  "rgb": {
    "r": 66,
    "g": 212,
    "b": 98
  },
  "hsl": {
    "h": 133.151,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76833,
    "c": 0.19851,
    "h": 147.1
  },
  "luminance": 0.49127
}

Semantic roles & 50–950 ramp

primary
#42D462
secondary
#D89ACA
accent
#42C2E6
background
#F9FEF9
surface
#F1FCF1
border
#CBD5CB
text
#0D150D
muted
#7E847E

Preview Lab

Preview with #42D462

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

Preview Lab → · Contrast checker → · Palette generator →

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