#42DF7A#42DF7A

#42DF7A is a light, vivid green. Relative luminance 0.553; OKLCH L 80.0% C 0.191 H 150.9°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#42DF7A
RGBrgb(66, 223, 122)
HSLhsl(141, 71%, 57%)
HSVhsv(141, 70%, 87%)
CMYKcmyk(70.4%, 0%, 45.3%, 12.5%)
CIE-LABlab(79.23, -62.13, 37.94)
CIE-LCHlch(79.23, 72.80, 148.59°)
OKLaboklab(80% -0.1673 0.0931)
OKLCHoklch(80% 0.191 150.9)
XYZxyz(32.1446, 55.3351, 27.3952)
Luminance0.5534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42DF7A #DF42A7
analogous
#59DF42 #42DF7A #42DFC8
triadic
#42DF7A #7A42DF #DF7A42
tetradic
#42DF7A #4259DF #DF42A7 #DFC842
square
#42DF7A #4259DF #DF42A7 #DFC842
split-complementary
#42DF7A #C842DF #DF4259
monochromatic
#188E42 #21C35B #42DF7A #76E89F #ABF1C4

Accessibility & contrast

On white

1.74
#42DF7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#42DF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42DF7A
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42DF7A#FFFFFF#000000##000000
##42DF7A1.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CC72
Deuteranopia (green-blind)
#CDBF81
Tritanopia (blue-blind)
#00DBC7
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #42df7a;
/* rgb */ color: rgb(66, 223, 122);
/* oklch */ color: oklch(80.0% 0.191 150.9);
Tailwind
colors: {
  custom: {
    50: '#8aeaa2',
    500: '#42df7a',
    950: '#000000',
  },
}
SCSS
$custom: #42df7a;
$custom-light: #8aeaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#42df7a",
  "rgb": {
    "r": 66,
    "g": 223,
    "b": 122
  },
  "hsl": {
    "h": 141.401,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79996,
    "c": 0.19142,
    "h": 150.9
  },
  "luminance": 0.55339
}

Semantic roles & 50–950 ramp

primary
#42DF7A
secondary
#943271
accent
#3AAEEE
background
#FCFFFC
surface
#F4FEF5
border
#CED6CF
text
#0D160F
muted
#7F8580

Preview Lab

Preview with #42DF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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