#42CC57#42CC57

#42CC57 is a light, vivid green. Relative luminance 0.450; OKLCH L 74.6% C 0.198 H 145.7°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#42CC57
RGBrgb(66, 204, 87)
HSLhsl(129, 58%, 53%)
HSVhsv(129, 68%, 80%)
CMYKcmyk(67.6%, 0%, 57.4%, 20%)
CIE-LABlab(72.91, -60.51, 46.97)
CIE-LCHlch(72.91, 76.60, 142.18°)
OKLaboklab(74.63% -0.1634 0.1114)
OKLCHoklch(74.63% 0.198 145.7)
XYZxyz(25.5582, 45.0294, 16.3596)
Luminance0.4503 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CC57 #CC42B7
analogous
#72CC42 #42CC57 #42CC9C
triadic
#42CC57 #5742CC #CC5742
tetradic
#42CC57 #4272CC #CC42B7 #CC9C42
square
#42CC57 #4272CC #CC42B7 #CC9C42
split-complementary
#42CC57 #9C42CC #CC4272
monochromatic
#1F742C #2CA43F #42CC57 #72D982 #A2E6AD

Accessibility & contrast

On white

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

On black

10.01
#42CC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42CC57
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42CC57#FFFFFF#000000##000000
##42CC571.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA4B
Deuteranopia (green-blind)
#BFAE60
Tritanopia (blue-blind)
#10C7B2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #42cc57;
/* rgb */ color: rgb(66, 204, 87);
/* oklch */ color: oklch(74.6% 0.198 145.7);
Tailwind
colors: {
  custom: {
    50: '#87dd8a',
    500: '#42cc57',
    950: '#000000',
  },
}
SCSS
$custom: #42cc57;
$custom-light: #87dd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#42cc57",
  "rgb": {
    "r": 66,
    "g": 204,
    "b": 87
  },
  "hsl": {
    "h": 129.13,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.74628,
    "c": 0.19777,
    "h": 145.7
  },
  "luminance": 0.45032
}

Semantic roles & 50–950 ramp

primary
#42CC57
secondary
#D397CA
accent
#47C9E1
background
#F9FDF8
surface
#F1FBF0
border
#CBD4CB
text
#0D150C
muted
#7E837D

Preview Lab

Preview with #42CC57

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

Preview Lab → · Contrast checker → · Palette generator →

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