#42D956#42D956

#42D956 is a light, highly saturated green. Relative luminance 0.515; OKLCH L 78.0% C 0.214 H 145.2°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#42D956
RGBrgb(66, 217, 86)
HSLhsl(128, 67%, 55%)
HSVhsv(128, 70%, 85%)
CMYKcmyk(69.6%, 0%, 60.4%, 14.9%)
CIE-LABlab(76.95, -65.07, 52.11)
CIE-LCHlch(76.95, 83.36, 141.31°)
OKLaboklab(77.97% -0.1758 0.1224)
OKLCHoklch(77.97% 0.214 145.2)
XYZxyz(28.7374, 51.4527, 17.2192)
Luminance0.5146 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D956 #D942C5
analogous
#79D942 #42D956 #42D9A1
triadic
#42D956 #5642D9 #D95642
tetradic
#42D956 #4279D9 #D942C5 #D9A142
square
#42D956 #4279D9 #D942C5 #D9A142
split-complementary
#42D956 #A142D9 #D94279
monochromatic
#1B8629 #25B939 #42D956 #75E384 #A8EDB1

Accessibility & contrast

On white

1.86
#42D956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#42D956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D956
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D956#FFFFFF#000000##000000
##42D9561.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC548
Deuteranopia (green-blind)
#CBB961
Tritanopia (blue-blind)
#00D4BD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #42d956;
/* rgb */ color: rgb(66, 217, 86);
/* oklch */ color: oklch(78.0% 0.214 145.2);
Tailwind
colors: {
  custom: {
    50: '#8ae68a',
    500: '#42d956',
    950: '#000000',
  },
}
SCSS
$custom: #42d956;
$custom-light: #8ae68a;
$custom-dark: #000000;
JSON
{
  "hex": "#42d956",
  "rgb": {
    "r": 66,
    "g": 217,
    "b": 86
  },
  "hsl": {
    "h": 127.947,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77969,
    "c": 0.21421,
    "h": 145.2
  },
  "luminance": 0.51456
}

Semantic roles & 50–950 ramp

primary
#42D956
secondary
#8C3380
accent
#3ED3E9
background
#FCFEFC
surface
#F4FCF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #42D956

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

Preview Lab → · Contrast checker → · Palette generator →

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