#42D456#42D456

#42D456 is a light, highly saturated green. Relative luminance 0.489; OKLCH L 76.7% C 0.208 H 145.3°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#42D456
RGBrgb(66, 212, 86)
HSLhsl(128, 63%, 55%)
HSVhsv(128, 69%, 83%)
CMYKcmyk(68.9%, 0%, 59.4%, 16.9%)
CIE-LABlab(75.40, -63.38, 50.32)
CIE-LCHlch(75.40, 80.93, 141.55°)
OKLaboklab(76.68% -0.1712 0.1186)
OKLCHoklch(76.68% 0.208 145.3)
XYZxyz(27.4681, 48.9141, 16.7961)
Luminance0.4892 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D456 #D442C0
analogous
#77D442 #42D456 #42D49F
triadic
#42D456 #5642D4 #D45642
tetradic
#42D456 #4277D4 #D442C0 #D49F42
square
#42D456 #4277D4 #D442C0 #D49F42
split-complementary
#42D456 #9F42D4 #D44277
monochromatic
#1D7F2A #28B13B #42D456 #74DF83 #A6EBAF

Accessibility & contrast

On white

1.95
#42D456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#42D456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D456
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D456#FFFFFF#000000##000000
##42D4561.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C149
Deuteranopia (green-blind)
#C6B560
Tritanopia (blue-blind)
#04CFB9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #42d456;
/* rgb */ color: rgb(66, 212, 86);
/* oklch */ color: oklch(76.7% 0.208 145.3);
Tailwind
colors: {
  custom: {
    50: '#89e28a',
    500: '#42d456',
    950: '#000000',
  },
}
SCSS
$custom: #42d456;
$custom-light: #89e28a;
$custom-dark: #000000;
JSON
{
  "hex": "#42d456",
  "rgb": {
    "r": 66,
    "g": 212,
    "b": 86
  },
  "hsl": {
    "h": 128.219,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76682,
    "c": 0.20826,
    "h": 145.3
  },
  "luminance": 0.48917
}

Semantic roles & 50–950 ramp

primary
#42D456
secondary
#D89ACF
accent
#42CFE6
background
#F9FEF8
surface
#F1FCF0
border
#CBD5CB
text
#0D160C
muted
#7E847D

Preview Lab

Preview with #42D456

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

Preview Lab → · Contrast checker → · Palette generator →

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