#42CF78#42CF78

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

Color values

HEX#42CF78
RGBrgb(66, 207, 120)
HSLhsl(143, 59%, 54%)
HSVhsv(143, 68%, 81%)
CMYKcmyk(68.1%, 0%, 42%, 18.8%)
CIE-LABlab(74.28, -56.64, 32.55)
CIE-LCHlch(74.28, 65.33, 150.12°)
OKLaboklab(75.9% -0.1527 0.0805)
OKLCHoklch(75.9% 0.173 152.2)
XYZxyz(27.9474, 47.1369, 25.3911)
Luminance0.4714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CF78 #CF4299
analogous
#52CF42 #42CF78 #42CFBF
triadic
#42CF78 #7842CF #CF7842
tetradic
#42CF78 #4252CF #CF4299 #CFBF42
square
#42CF78 #4252CF #CF4299 #CFBF42
split-complementary
#42CF78 #BF42CF #CF4252
monochromatic
#1F7841 #2BA95B #42CF78 #73DB9B #A4E8BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42CF78#FFFFFF#000000##000000
##42CF781.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)
#CFBE72
Deuteranopia (green-blind)
#BEB27E
Tritanopia (blue-blind)
#00CCBA
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #42cf78;
/* rgb */ color: rgb(66, 207, 120);
/* oklch */ color: oklch(75.9% 0.173 152.2);
Tailwind
colors: {
  custom: {
    50: '#87dfa0',
    500: '#42cf78',
    950: '#000000',
  },
}
SCSS
$custom: #42cf78;
$custom-light: #87dfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#42cf78",
  "rgb": {
    "r": 66,
    "g": 207,
    "b": 120
  },
  "hsl": {
    "h": 142.979,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75897,
    "c": 0.17268,
    "h": 152.2
  },
  "luminance": 0.4714
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42CF78

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

Preview Lab → · Contrast checker → · Palette generator →

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