#42D971#42D971

#42D971 is a light, vivid green. Relative luminance 0.520; OKLCH L 78.3% C 0.192 H 149.6°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#42D971
RGBrgb(66, 217, 113)
HSLhsl(139, 67%, 55%)
HSVhsv(139, 70%, 85%)
CMYKcmyk(69.6%, 0%, 47.9%, 14.9%)
CIE-LABlab(77.26, -61.43, 39.87)
CIE-LCHlch(77.26, 73.23, 147.01°)
OKLaboklab(78.33% -0.1654 0.0971)
OKLCHoklch(78.33% 0.192 149.6)
XYZxyz(30.0379, 51.9729, 24.0683)
Luminance0.5198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D971 #D942AA
analogous
#5FD942 #42D971 #42D9BC
triadic
#42D971 #7142D9 #D97142
tetradic
#42D971 #425FD9 #D942AA #D9BC42
square
#42D971 #425FD9 #D942AA #D9BC42
split-complementary
#42D971 #BC42D9 #D9425F
monochromatic
#1B863C #25B953 #42D971 #75E397 #A8EDBE

Accessibility & contrast

On white

1.84
#42D971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#42D971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D971
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D971#FFFFFF#000000##000000
##42D9711.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC769
Deuteranopia (green-blind)
#C8BA78
Tritanopia (blue-blind)
#00D5C0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #42d971;
/* rgb */ color: rgb(66, 217, 113);
/* oklch */ color: oklch(78.3% 0.192 149.6);
Tailwind
colors: {
  custom: {
    50: '#89e69b',
    500: '#42d971',
    950: '#000000',
  },
}
SCSS
$custom: #42d971;
$custom-light: #89e69b;
$custom-dark: #000000;
JSON
{
  "hex": "#42d971",
  "rgb": {
    "r": 66,
    "g": 217,
    "b": 113
  },
  "hsl": {
    "h": 138.675,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78329,
    "c": 0.19181,
    "h": 149.6
  },
  "luminance": 0.51976
}

Semantic roles & 50–950 ramp

primary
#42D971
secondary
#8C3370
accent
#3EB4E9
background
#FCFEFC
surface
#F4FCF5
border
#CED5CF
text
#0D160E
muted
#7F847F

Preview Lab

Preview with #42D971

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

Preview Lab → · Contrast checker → · Palette generator →

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