#42CC81#42CC81

#42CC81 is a light, vivid green. Relative luminance 0.459; OKLCH L 75.3% C 0.161 H 155.2°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#42CC81
RGBrgb(66, 204, 129)
HSLhsl(147, 58%, 53%)
HSVhsv(147, 68%, 80%)
CMYKcmyk(67.6%, 0%, 36.8%, 20%)
CIE-LABlab(73.50, -53.87, 26.87)
CIE-LCHlch(73.50, 60.20, 153.49°)
OKLaboklab(75.3% -0.1457 0.0673)
OKLCHoklch(75.3% 0.161 155.2)
XYZxyz(27.7996, 45.9259, 28.1641)
Luminance0.4593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CC81 #CC428D
analogous
#48CC42 #42CC81 #42CCC6
triadic
#42CC81 #8142CC #CC8142
tetradic
#42CC81 #4248CC #CC428D #CCC642
square
#42CC81 #4248CC #CC428D #CCC642
split-complementary
#42CC81 #C642CC #CC4248
monochromatic
#1F7446 #2CA463 #42CC81 #72D9A1 #A2E6C1

Accessibility & contrast

On white

2.06
#42CC81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#42CC81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42CC81
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42CC81#FFFFFF#000000##000000
##42CC811.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBC7C
Deuteranopia (green-blind)
#BAB086
Tritanopia (blue-blind)
#00CAB9
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #42cc81;
/* rgb */ color: rgb(66, 204, 129);
/* oklch */ color: oklch(75.3% 0.161 155.2);
Tailwind
colors: {
  custom: {
    50: '#87dca6',
    500: '#42cc81',
    950: '#000000',
  },
}
SCSS
$custom: #42cc81;
$custom-light: #87dca6;
$custom-dark: #000000;
JSON
{
  "hex": "#42cc81",
  "rgb": {
    "r": 66,
    "g": 204,
    "b": 129
  },
  "hsl": {
    "h": 147.391,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75303,
    "c": 0.16054,
    "h": 155.2
  },
  "luminance": 0.45929
}

Semantic roles & 50–950 ramp

primary
#42CC81
secondary
#D397B7
accent
#479BE1
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0D150F
muted
#7D837F

Preview Lab

Preview with #42CC81

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

Preview Lab → · Contrast checker → · Palette generator →

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