#42DA52#42DA52

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

Color values

HEX#42DA52
RGBrgb(66, 218, 82)
HSLhsl(126, 67%, 56%)
HSVhsv(126, 70%, 85%)
CMYKcmyk(69.7%, 0%, 62.4%, 14.5%)
CIE-LABlab(77.23, -65.85, 54.15)
CIE-LCHlch(77.23, 85.25, 140.57°)
OKLaboklab(78.18% -0.1781 0.1264)
OKLCHoklch(78.18% 0.218 144.6)
XYZxyz(28.8393, 51.9071, 16.4802)
Luminance0.5191 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42DA52 #DA42CA
analogous
#7EDA42 #42DA52 #42DA9E
triadic
#42DA52 #5242DA #DA5242
tetradic
#42DA52 #427EDA #DA42CA #DA9E42
square
#42DA52 #427EDA #DA42CA #DA9E42
split-complementary
#42DA52 #9E42DA #DA427E
monochromatic
#1A8726 #24BA34 #42DA52 #75E481 #A8EEB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42DA52#FFFFFF#000000##000000
##42DA521.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)
#DEC642
Deuteranopia (green-blind)
#CCBA5E
Tritanopia (blue-blind)
#00D4BD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #42da52;
/* rgb */ color: rgb(66, 218, 82);
/* oklch */ color: oklch(78.2% 0.218 144.6);
Tailwind
colors: {
  custom: {
    50: '#8be787',
    500: '#42da52',
    950: '#000000',
  },
}
SCSS
$custom: #42da52;
$custom-light: #8be787;
$custom-dark: #000000;
JSON
{
  "hex": "#42da52",
  "rgb": {
    "r": 66,
    "g": 218,
    "b": 82
  },
  "hsl": {
    "h": 126.316,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78183,
    "c": 0.21837,
    "h": 144.6
  },
  "luminance": 0.5191
}

Semantic roles & 50–950 ramp

primary
#42DA52
secondary
#8D3384
accent
#3ED8EA
background
#FCFEFC
surface
#F4FDF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #42DA52

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

Preview Lab → · Contrast checker → · Palette generator →

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