#42CC77#42CC77

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

Color values

HEX#42CC77
RGBrgb(66, 204, 119)
HSLhsl(143, 58%, 53%)
HSVhsv(143, 68%, 80%)
CMYKcmyk(67.6%, 0%, 41.7%, 20%)
CIE-LABlab(73.33, -55.69, 31.83)
CIE-LCHlch(73.33, 64.15, 150.25°)
OKLaboklab(75.11% -0.1502 0.0788)
OKLCHoklch(75.11% 0.17 152.3)
XYZxyz(27.1671, 45.6729, 24.8332)
Luminance0.4568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CC77 #CC4297
analogous
#52CC42 #42CC77 #42CCBC
triadic
#42CC77 #7742CC #CC7742
tetradic
#42CC77 #4252CC #CC4297 #CCBC42
square
#42CC77 #4252CC #CC4297 #CCBC42
split-complementary
#42CC77 #BC42CC #CC4252
monochromatic
#1F7440 #2CA45A #42CC77 #72D99A #A2E6BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42CC77#FFFFFF#000000##000000
##42CC771.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)
#CCBB71
Deuteranopia (green-blind)
#BBAF7D
Tritanopia (blue-blind)
#00C9B7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #42cc77;
/* rgb */ color: rgb(66, 204, 119);
/* oklch */ color: oklch(75.1% 0.170 152.3);
Tailwind
colors: {
  custom: {
    50: '#87dd9f',
    500: '#42cc77',
    950: '#000000',
  },
}
SCSS
$custom: #42cc77;
$custom-light: #87dd9f;
$custom-dark: #000000;
JSON
{
  "hex": "#42cc77",
  "rgb": {
    "r": 66,
    "g": 204,
    "b": 119
  },
  "hsl": {
    "h": 143.043,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75113,
    "c": 0.16967,
    "h": 152.3
  },
  "luminance": 0.45676
}

Semantic roles & 50–950 ramp

primary
#42CC77
secondary
#D397BC
accent
#47A6E1
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0D150E
muted
#7D837E

Preview Lab

Preview with #42CC77

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

Preview Lab → · Contrast checker → · Palette generator →

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