#42D958#42D958

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

Color values

HEX#42D958
RGBrgb(66, 217, 88)
HSLhsl(129, 67%, 55%)
HSVhsv(129, 70%, 85%)
CMYKcmyk(69.6%, 0%, 59.4%, 14.9%)
CIE-LABlab(76.97, -64.84, 51.25)
CIE-LCHlch(76.97, 82.64, 141.68°)
OKLaboklab(77.99% -0.1751 0.1207)
OKLCHoklch(77.99% 0.213 145.4)
XYZxyz(28.8191, 51.4854, 17.6495)
Luminance0.5149 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D958 #D942C3
analogous
#77D942 #42D958 #42D9A4
triadic
#42D958 #5842D9 #D95842
tetradic
#42D958 #4277D9 #D942C3 #D9A442
square
#42D958 #4277D9 #D942C3 #D9A442
split-complementary
#42D958 #A442D9 #D94277
monochromatic
#1B862A #25B93B #42D958 #75E385 #A8EDB2

Accessibility & contrast

On white

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

On black

11.30
#42D958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D958
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D958#FFFFFF#000000##000000
##42D9581.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42d958;
/* rgb */ color: rgb(66, 217, 88);
/* oklch */ color: oklch(78.0% 0.213 145.4);
Tailwind
colors: {
  custom: {
    50: '#8ae68b',
    500: '#42d958',
    950: '#000000',
  },
}
SCSS
$custom: #42d958;
$custom-light: #8ae68b;
$custom-dark: #000000;
JSON
{
  "hex": "#42d958",
  "rgb": {
    "r": 66,
    "g": 217,
    "b": 88
  },
  "hsl": {
    "h": 128.742,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77992,
    "c": 0.21267,
    "h": 145.4
  },
  "luminance": 0.51489
}

Semantic roles & 50–950 ramp

primary
#42D958
secondary
#8C337F
accent
#3ED1E9
background
#FCFEFC
surface
#F4FCF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #42D958

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

Preview Lab → · Contrast checker → · Palette generator →

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