#42CC79#42CC79

#42CC79 is a light, vivid green. Relative luminance 0.457; OKLCH L 75.1% C 0.168 H 152.9°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#42CC79
RGBrgb(66, 204, 121)
HSLhsl(144, 58%, 53%)
HSVhsv(144, 68%, 80%)
CMYKcmyk(67.6%, 0%, 40.7%, 20%)
CIE-LABlab(73.36, -55.34, 30.84)
CIE-LCHlch(73.36, 63.36, 150.87°)
OKLaboklab(75.15% -0.1493 0.0766)
OKLCHoklch(75.15% 0.168 152.9)
XYZxyz(27.2885, 45.7215, 25.4724)
Luminance0.4572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CC79 #CC4295
analogous
#50CC42 #42CC79 #42CCBE
triadic
#42CC79 #7942CC #CC7942
tetradic
#42CC79 #4250CC #CC4295 #CCBE42
square
#42CC79 #4250CC #CC4295 #CCBE42
split-complementary
#42CC79 #BE42CC #CC4250
monochromatic
#1F7441 #2CA45C #42CC79 #72D99B #A2E6BD

Accessibility & contrast

On white

2.07
#42CC79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#42CC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42CC79
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42CC79#FFFFFF#000000##000000
##42CC791.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBC73
Deuteranopia (green-blind)
#BBAF7F
Tritanopia (blue-blind)
#00C9B7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #42cc79;
/* rgb */ color: rgb(66, 204, 121);
/* oklch */ color: oklch(75.1% 0.168 152.9);
Tailwind
colors: {
  custom: {
    50: '#87dda0',
    500: '#42cc79',
    950: '#000000',
  },
}
SCSS
$custom: #42cc79;
$custom-light: #87dda0;
$custom-dark: #000000;
JSON
{
  "hex": "#42cc79",
  "rgb": {
    "r": 66,
    "g": 204,
    "b": 121
  },
  "hsl": {
    "h": 143.913,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.7515,
    "c": 0.16783,
    "h": 152.9
  },
  "luminance": 0.45724
}

Semantic roles & 50–950 ramp

primary
#42CC79
secondary
#D397BB
accent
#47A3E1
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0D150F
muted
#7D837E

Preview Lab

Preview with #42CC79

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

Preview Lab → · Contrast checker → · Palette generator →

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