#42CC7A#42CC7A

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

Color values

HEX#42CC7A
RGBrgb(66, 204, 122)
HSLhsl(144, 58%, 53%)
HSVhsv(144, 68%, 80%)
CMYKcmyk(67.6%, 0%, 40.2%, 20%)
CIE-LABlab(73.38, -55.16, 30.35)
CIE-LCHlch(73.38, 62.96, 151.18°)
OKLaboklab(75.17% -0.1489 0.0754)
OKLCHoklch(75.17% 0.167 153.1)
XYZxyz(27.3501, 45.7461, 25.7971)
Luminance0.4575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CC7A #CC4294
analogous
#4FCC42 #42CC7A #42CCBF
triadic
#42CC7A #7A42CC #CC7A42
tetradic
#42CC7A #424FCC #CC4294 #CCBF42
square
#42CC7A #424FCC #CC4294 #CCBF42
split-complementary
#42CC7A #BF42CC #CC424F
monochromatic
#1F7442 #2CA45D #42CC7A #72D99C #A2E6BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42CC7A#FFFFFF#000000##000000
##42CC7A1.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)
#CCBC74
Deuteranopia (green-blind)
#BBAF7F
Tritanopia (blue-blind)
#00C9B8
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #42cc7a;
/* rgb */ color: rgb(66, 204, 122);
/* oklch */ color: oklch(75.2% 0.167 153.1);
Tailwind
colors: {
  custom: {
    50: '#87dda1',
    500: '#42cc7a',
    950: '#000000',
  },
}
SCSS
$custom: #42cc7a;
$custom-light: #87dda1;
$custom-dark: #000000;
JSON
{
  "hex": "#42cc7a",
  "rgb": {
    "r": 66,
    "g": 204,
    "b": 122
  },
  "hsl": {
    "h": 144.348,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75168,
    "c": 0.16692,
    "h": 153.1
  },
  "luminance": 0.45749
}

Semantic roles & 50–950 ramp

primary
#42CC7A
secondary
#D397BB
accent
#47A2E1
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0D150F
muted
#7D837E

Preview Lab

Preview with #42CC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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