#42D959#42D959

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

Color values

HEX#42D959
RGBrgb(66, 217, 89)
HSLhsl(129, 67%, 55%)
HSVhsv(129, 70%, 85%)
CMYKcmyk(69.6%, 0%, 59%, 14.9%)
CIE-LABlab(76.98, -64.72, 50.81)
CIE-LCHlch(76.98, 82.28, 141.86°)
OKLaboklab(78% -0.1747 0.1199)
OKLCHoklch(78% 0.212 145.6)
XYZxyz(28.8608, 51.5021, 17.8691)
Luminance0.5151 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D959 #D942C2
analogous
#76D942 #42D959 #42D9A4
triadic
#42D959 #5942D9 #D95942
tetradic
#42D959 #4276D9 #D942C2 #D9A442
square
#42D959 #4276D9 #D942C2 #D9A442
split-complementary
#42D959 #A442D9 #D94276
monochromatic
#1B862B #25B93C #42D959 #75E386 #A8EDB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42D959#FFFFFF#000000##000000
##42D9591.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)
#DCC64C
Deuteranopia (green-blind)
#CBB963
Tritanopia (blue-blind)
#00D4BD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #42d959;
/* rgb */ color: rgb(66, 217, 89);
/* oklch */ color: oklch(78.0% 0.212 145.6);
Tailwind
colors: {
  custom: {
    50: '#8ae68c',
    500: '#42d959',
    950: '#000000',
  },
}
SCSS
$custom: #42d959;
$custom-light: #8ae68c;
$custom-dark: #000000;
JSON
{
  "hex": "#42d959",
  "rgb": {
    "r": 66,
    "g": 217,
    "b": 89
  },
  "hsl": {
    "h": 129.139,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78004,
    "c": 0.2119,
    "h": 145.6
  },
  "luminance": 0.51505
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42D959

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

Preview Lab → · Contrast checker → · Palette generator →

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