#42D957#42D957

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

Color values

HEX#42D957
RGBrgb(66, 217, 87)
HSLhsl(128, 67%, 55%)
HSVhsv(128, 70%, 85%)
CMYKcmyk(69.6%, 0%, 59.9%, 14.9%)
CIE-LABlab(76.96, -64.95, 51.68)
CIE-LCHlch(76.96, 83.00, 141.49°)
OKLaboklab(77.98% -0.1754 0.1216)
OKLCHoklch(77.98% 0.213 145.3)
XYZxyz(28.7780, 51.4689, 17.4328)
Luminance0.5147 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D957 #D942C4
analogous
#79D942 #42D957 #42D9A2
triadic
#42D957 #5742D9 #D95742
tetradic
#42D957 #4279D9 #D942C4 #D9A242
square
#42D957 #4279D9 #D942C4 #D9A242
split-complementary
#42D957 #A242D9 #D94279
monochromatic
#1B862A #25B93A #42D957 #75E384 #A8EDB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42D957#FFFFFF#000000##000000
##42D9571.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)
#DCC549
Deuteranopia (green-blind)
#CBB962
Tritanopia (blue-blind)
#00D4BD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #42d957;
/* rgb */ color: rgb(66, 217, 87);
/* oklch */ color: oklch(78.0% 0.213 145.3);
Tailwind
colors: {
  custom: {
    50: '#8ae68a',
    500: '#42d957',
    950: '#000000',
  },
}
SCSS
$custom: #42d957;
$custom-light: #8ae68a;
$custom-dark: #000000;
JSON
{
  "hex": "#42d957",
  "rgb": {
    "r": 66,
    "g": 217,
    "b": 87
  },
  "hsl": {
    "h": 128.344,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77981,
    "c": 0.21345,
    "h": 145.3
  },
  "luminance": 0.51472
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42D957

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

Preview Lab → · Contrast checker → · Palette generator →

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