#42CC5F#42CC5F

#42CC5F is a light, vivid green. Relative luminance 0.452; OKLCH L 74.7% C 0.191 H 147.1°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#42CC5F
RGBrgb(66, 204, 95)
HSLhsl(133, 58%, 53%)
HSVhsv(133, 68%, 80%)
CMYKcmyk(67.6%, 0%, 53.4%, 20%)
CIE-LABlab(73.00, -59.46, 43.33)
CIE-LCHlch(73.00, 73.57, 143.92°)
OKLaboklab(74.73% -0.1604 0.1039)
OKLCHoklch(74.73% 0.191 147.1)
XYZxyz(25.9033, 45.1674, 18.1773)
Luminance0.4517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CC5F #CC42AF
analogous
#6ACC42 #42CC5F #42CCA4
triadic
#42CC5F #5F42CC #CC5F42
tetradic
#42CC5F #426ACC #CC42AF #CCA442
square
#42CC5F #426ACC #CC42AF #CCA442
split-complementary
#42CC5F #A442CC #CC426A
monochromatic
#1F7431 #2CA446 #42CC5F #72D988 #A2E6B1

Accessibility & contrast

On white

2.09
#42CC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#42CC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42CC5F
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42CC5F#FFFFFF#000000##000000
##42CC5F1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA55
Deuteranopia (green-blind)
#BEAF67
Tritanopia (blue-blind)
#05C8B3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #42cc5f;
/* rgb */ color: rgb(66, 204, 95);
/* oklch */ color: oklch(74.7% 0.191 147.1);
Tailwind
colors: {
  custom: {
    50: '#87dd8f',
    500: '#42cc5f',
    950: '#000000',
  },
}
SCSS
$custom: #42cc5f;
$custom-light: #87dd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#42cc5f",
  "rgb": {
    "r": 66,
    "g": 204,
    "b": 95
  },
  "hsl": {
    "h": 132.609,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.74733,
    "c": 0.1911,
    "h": 147.1
  },
  "luminance": 0.4517
}

Semantic roles & 50–950 ramp

primary
#42CC5F
secondary
#D397C6
accent
#47C0E1
background
#F9FDF8
surface
#F1FBF0
border
#CBD4CB
text
#0D150C
muted
#7E837D

Preview Lab

Preview with #42CC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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