#42CC7B#42CC7B

#42CC7B is a light, vivid green. Relative luminance 0.458; OKLCH L 75.2% C 0.166 H 153.4°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#42CC7B
RGBrgb(66, 204, 123)
HSLhsl(145, 58%, 53%)
HSVhsv(145, 68%, 80%)
CMYKcmyk(67.6%, 0%, 39.7%, 20%)
CIE-LABlab(73.40, -54.98, 29.85)
CIE-LCHlch(73.40, 62.56, 151.50°)
OKLaboklab(75.19% -0.1484 0.0743)
OKLCHoklch(75.19% 0.166 153.4)
XYZxyz(27.4124, 45.7711, 26.1251)
Luminance0.4577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CC7B #CC4293
analogous
#4ECC42 #42CC7B #42CCC0
triadic
#42CC7B #7B42CC #CC7B42
tetradic
#42CC7B #424ECC #CC4293 #CCC042
square
#42CC7B #424ECC #CC4293 #CCC042
split-complementary
#42CC7B #C042CC #CC424E
monochromatic
#1F7442 #2CA45E #42CC7B #72D99D #A2E6BE

Accessibility & contrast

On white

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

On black

10.15
#42CC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42CC7B
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42CC7B#FFFFFF#000000##000000
##42CC7B1.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBC75
Deuteranopia (green-blind)
#BBAF80
Tritanopia (blue-blind)
#00C9B8
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #42cc7b;
/* rgb */ color: rgb(66, 204, 123);
/* oklch */ color: oklch(75.2% 0.166 153.4);
Tailwind
colors: {
  custom: {
    50: '#87dca2',
    500: '#42cc7b',
    950: '#000000',
  },
}
SCSS
$custom: #42cc7b;
$custom-light: #87dca2;
$custom-dark: #000000;
JSON
{
  "hex": "#42cc7b",
  "rgb": {
    "r": 66,
    "g": 204,
    "b": 123
  },
  "hsl": {
    "h": 144.783,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75187,
    "c": 0.166,
    "h": 153.4
  },
  "luminance": 0.45774
}

Semantic roles & 50–950 ramp

primary
#42CC7B
secondary
#D397BA
accent
#47A1E1
background
#F8FDFA
surface
#F0FBF3
border
#CBD4CD
text
#0D150F
muted
#7D837F

Preview Lab

Preview with #42CC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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