#42DF79#42DF79

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

Color values

HEX#42DF79
RGBrgb(66, 223, 121)
HSLhsl(141, 71%, 57%)
HSVhsv(141, 70%, 87%)
CMYKcmyk(70.4%, 0%, 45.7%, 12.5%)
CIE-LABlab(79.22, -62.29, 38.41)
CIE-LCHlch(79.22, 73.19, 148.34°)
OKLaboklab(79.98% -0.1677 0.0941)
OKLCHoklch(79.98% 0.192 150.7)
XYZxyz(32.0830, 55.3105, 27.0706)
Luminance0.5531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42DF79 #DF42A8
analogous
#5ADF42 #42DF79 #42DFC8
triadic
#42DF79 #7942DF #DF7942
tetradic
#42DF79 #425ADF #DF42A8 #DFC842
square
#42DF79 #425ADF #DF42A8 #DFC842
split-complementary
#42DF79 #C842DF #DF425A
monochromatic
#188E42 #21C35A #42DF79 #76E89E #ABF1C3

Accessibility & contrast

On white

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

On black

12.06
#42DF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42DF79
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42DF79#FFFFFF#000000##000000
##42DF791.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42df79;
/* rgb */ color: rgb(66, 223, 121);
/* oklch */ color: oklch(80.0% 0.192 150.7);
Tailwind
colors: {
  custom: {
    50: '#8aeaa1',
    500: '#42df79',
    950: '#000000',
  },
}
SCSS
$custom: #42df79;
$custom-light: #8aeaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#42df79",
  "rgb": {
    "r": 66,
    "g": 223,
    "b": 121
  },
  "hsl": {
    "h": 141.019,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.7998,
    "c": 0.1923,
    "h": 150.7
  },
  "luminance": 0.55314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42DF79

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

Preview Lab → · Contrast checker → · Palette generator →

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