#42CC5A#42CC5A

#42CC5A is a light, vivid green. Relative luminance 0.451; OKLCH L 74.7% C 0.195 H 146.2°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#42CC5A
RGBrgb(66, 204, 90)
HSLhsl(130, 58%, 53%)
HSVhsv(130, 68%, 80%)
CMYKcmyk(67.6%, 0%, 55.9%, 20%)
CIE-LABlab(72.94, -60.13, 45.62)
CIE-LCHlch(72.94, 75.47, 142.81°)
OKLaboklab(74.67% -0.1623 0.1087)
OKLCHoklch(74.67% 0.195 146.2)
XYZxyz(25.6833, 45.0794, 17.0185)
Luminance0.4508 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CC5A #CC42B4
analogous
#6FCC42 #42CC5A #42CC9F
triadic
#42CC5A #5A42CC #CC5A42
tetradic
#42CC5A #426FCC #CC42B4 #CC9F42
square
#42CC5A #426FCC #CC42B4 #CC9F42
split-complementary
#42CC5A #9F42CC #CC426F
monochromatic
#1F742E #2CA441 #42CC5A #72D984 #A2E6AE

Accessibility & contrast

On white

2.10
#42CC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#42CC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42CC5A
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42CC5A#FFFFFF#000000##000000
##42CC5A1.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA4F
Deuteranopia (green-blind)
#BEAF63
Tritanopia (blue-blind)
#0CC7B3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #42cc5a;
/* rgb */ color: rgb(66, 204, 90);
/* oklch */ color: oklch(74.7% 0.195 146.2);
Tailwind
colors: {
  custom: {
    50: '#87dd8c',
    500: '#42cc5a',
    950: '#000000',
  },
}
SCSS
$custom: #42cc5a;
$custom-light: #87dd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#42cc5a",
  "rgb": {
    "r": 66,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 130.435,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.74666,
    "c": 0.19531,
    "h": 146.2
  },
  "luminance": 0.45082
}

Semantic roles & 50–950 ramp

primary
#42CC5A
secondary
#D397C8
accent
#47C6E1
background
#F9FDF8
surface
#F1FBF0
border
#CBD4CB
text
#0D150C
muted
#7E837D

Preview Lab

Preview with #42CC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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