#42D954#42D954

#42D954 is a light, highly saturated green. Relative luminance 0.514; OKLCH L 77.9% C 0.216 H 144.9°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#42D954
RGBrgb(66, 217, 84)
HSLhsl(127, 67%, 55%)
HSVhsv(127, 70%, 85%)
CMYKcmyk(69.6%, 0%, 61.3%, 14.9%)
CIE-LABlab(76.93, -65.30, 52.96)
CIE-LCHlch(76.93, 84.07, 140.96°)
OKLaboklab(77.95% -0.1765 0.124)
OKLCHoklch(77.95% 0.216 144.9)
XYZxyz(28.6579, 51.4209, 16.8007)
Luminance0.5142 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D954 #D942C7
analogous
#7CD942 #42D954 #42D99F
triadic
#42D954 #5442D9 #D95442
tetradic
#42D954 #427CD9 #D942C7 #D99F42
square
#42D954 #427CD9 #D942C7 #D99F42
split-complementary
#42D954 #9F42D9 #D9427C
monochromatic
#1B8628 #25B937 #42D954 #75E382 #A8EDB0

Accessibility & contrast

On white

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

On black

11.28
#42D954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D954
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D954#FFFFFF#000000##000000
##42D9541.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC545
Deuteranopia (green-blind)
#CBB95F
Tritanopia (blue-blind)
#00D3BD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #42d954;
/* rgb */ color: rgb(66, 217, 84);
/* oklch */ color: oklch(77.9% 0.216 144.9);
Tailwind
colors: {
  custom: {
    50: '#8ae689',
    500: '#42d954',
    950: '#000000',
  },
}
SCSS
$custom: #42d954;
$custom-light: #8ae689;
$custom-dark: #000000;
JSON
{
  "hex": "#42d954",
  "rgb": {
    "r": 66,
    "g": 217,
    "b": 84
  },
  "hsl": {
    "h": 127.152,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77947,
    "c": 0.21572,
    "h": 144.9
  },
  "luminance": 0.51424
}

Semantic roles & 50–950 ramp

primary
#42D954
secondary
#8C3382
accent
#3ED5E9
background
#FCFEFC
surface
#F4FCF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #42D954

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

Preview Lab → · Contrast checker → · Palette generator →

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