#42DC5C#42DC5C

#42DC5C is a light, highly saturated green. Relative luminance 0.531; OKLCH L 78.8% C 0.213 H 145.9°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#42DC5C
RGBrgb(66, 220, 92)
HSLhsl(130, 69%, 56%)
HSVhsv(130, 70%, 86%)
CMYKcmyk(70%, 0%, 58.2%, 13.7%)
CIE-LABlab(77.94, -65.36, 50.59)
CIE-LCHlch(77.94, 82.65, 142.26°)
OKLaboklab(78.81% -0.1764 0.1196)
OKLCHoklch(78.81% 0.213 145.9)
XYZxyz(29.7697, 53.1141, 18.8063)
Luminance0.5312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42DC5C #DC42C2
analogous
#75DC42 #42DC5C #42DCA9
triadic
#42DC5C #5C42DC #DC5C42
tetradic
#42DC5C #4275DC #DC42C2 #DCA942
square
#42DC5C #4275DC #DC42C2 #DCA942
split-complementary
#42DC5C #A942DC #DC4275
monochromatic
#1A8A2D #23BE3D #42DC5C #76E689 #A9EFB5

Accessibility & contrast

On white

1.81
#42DC5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#42DC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42DC5C
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42DC5C#FFFFFF#000000##000000
##42DC5C1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84F
Deuteranopia (green-blind)
#CDBC66
Tritanopia (blue-blind)
#00D7C0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #42dc5c;
/* rgb */ color: rgb(66, 220, 92);
/* oklch */ color: oklch(78.8% 0.213 145.9);
Tailwind
colors: {
  custom: {
    50: '#8be88e',
    500: '#42dc5c',
    950: '#000000',
  },
}
SCSS
$custom: #42dc5c;
$custom-light: #8be88e;
$custom-dark: #000000;
JSON
{
  "hex": "#42dc5c",
  "rgb": {
    "r": 66,
    "g": 220,
    "b": 92
  },
  "hsl": {
    "h": 130.13,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78809,
    "c": 0.21311,
    "h": 145.9
  },
  "luminance": 0.53117
}

Semantic roles & 50–950 ramp

primary
#42DC5C
secondary
#903280
accent
#3CCEEC
background
#FCFEFC
surface
#F4FDF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #42DC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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