#42CF79#42CF79

#42CF79 is a light, vivid green. Relative luminance 0.472; OKLCH L 75.9% C 0.172 H 152.5°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#42CF79
RGBrgb(66, 207, 121)
HSLhsl(143, 59%, 54%)
HSVhsv(143, 68%, 81%)
CMYKcmyk(68.1%, 0%, 41.5%, 18.8%)
CIE-LABlab(74.29, -56.47, 32.06)
CIE-LCHlch(74.29, 64.93, 150.42°)
OKLaboklab(75.91% -0.1523 0.0794)
OKLCHoklch(75.91% 0.172 152.5)
XYZxyz(28.0084, 47.1613, 25.7124)
Luminance0.4716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CF79 #CF4298
analogous
#51CF42 #42CF79 #42CFBF
triadic
#42CF79 #7942CF #CF7942
tetradic
#42CF79 #4251CF #CF4298 #CFBF42
square
#42CF79 #4251CF #CF4298 #CFBF42
split-complementary
#42CF79 #BF42CF #CF4251
monochromatic
#1F7841 #2BA95C #42CF79 #73DB9C #A4E8BE

Accessibility & contrast

On white

2.01
#42CF79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#42CF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42CF79
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42CF79#FFFFFF#000000##000000
##42CF791.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBE73
Deuteranopia (green-blind)
#BEB27F
Tritanopia (blue-blind)
#00CCBA
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #42cf79;
/* rgb */ color: rgb(66, 207, 121);
/* oklch */ color: oklch(75.9% 0.172 152.5);
Tailwind
colors: {
  custom: {
    50: '#87dfa0',
    500: '#42cf79',
    950: '#000000',
  },
}
SCSS
$custom: #42cf79;
$custom-light: #87dfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#42cf79",
  "rgb": {
    "r": 66,
    "g": 207,
    "b": 121
  },
  "hsl": {
    "h": 143.404,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75915,
    "c": 0.17176,
    "h": 152.5
  },
  "luminance": 0.47164
}

Semantic roles & 50–950 ramp

primary
#42CF79
secondary
#D598BD
accent
#45A5E3
background
#F9FDF9
surface
#F1FBF2
border
#CBD4CC
text
#0D150F
muted
#7E837E

Preview Lab

Preview with #42CF79

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

Preview Lab → · Contrast checker → · Palette generator →

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