#42DA51#42DA51

#42DA51 is a light, highly saturated green. Relative luminance 0.519; OKLCH L 78.2% C 0.219 H 144.5°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#42DA51
RGBrgb(66, 218, 81)
HSLhsl(126, 67%, 56%)
HSVhsv(126, 70%, 85%)
CMYKcmyk(69.7%, 0%, 62.8%, 14.5%)
CIE-LABlab(77.22, -65.96, 54.56)
CIE-LCHlch(77.22, 85.60, 140.40°)
OKLaboklab(78.17% -0.1784 0.1272)
OKLCHoklch(78.17% 0.219 144.5)
XYZxyz(28.8015, 51.8920, 16.2813)
Luminance0.5190 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42DA51 #DA42CB
analogous
#7FDA42 #42DA51 #42DA9D
triadic
#42DA51 #5142DA #DA5142
tetradic
#42DA51 #427FDA #DA42CB #DA9D42
square
#42DA51 #427FDA #DA42CB #DA9D42
split-complementary
#42DA51 #9D42DA #DA427F
monochromatic
#1A8725 #24BA33 #42DA51 #75E480 #A8EEAF

Accessibility & contrast

On white

1.85
#42DA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#42DA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42DA51
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42DA51#FFFFFF#000000##000000
##42DA511.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC641
Deuteranopia (green-blind)
#CCBA5D
Tritanopia (blue-blind)
#00D4BD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #42da51;
/* rgb */ color: rgb(66, 218, 81);
/* oklch */ color: oklch(78.2% 0.219 144.5);
Tailwind
colors: {
  custom: {
    50: '#8be787',
    500: '#42da51',
    950: '#000000',
  },
}
SCSS
$custom: #42da51;
$custom-light: #8be787;
$custom-dark: #000000;
JSON
{
  "hex": "#42da51",
  "rgb": {
    "r": 66,
    "g": 218,
    "b": 81
  },
  "hsl": {
    "h": 125.921,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78173,
    "c": 0.21909,
    "h": 144.5
  },
  "luminance": 0.51895
}

Semantic roles & 50–950 ramp

primary
#42DA51
secondary
#8D3384
accent
#3ED9EA
background
#FCFEFC
surface
#F4FDF3
border
#CED5CD
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #42DA51

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

Preview Lab → · Contrast checker → · Palette generator →

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