#42D548#42D548

#42D548 is a light, highly saturated green. Relative luminance 0.492; OKLCH L 76.8% C 0.220 H 143.6°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#42D548
RGBrgb(66, 213, 72)
HSLhsl(122, 64%, 55%)
HSVhsv(122, 69%, 84%)
CMYKcmyk(69%, 0%, 66.2%, 16.5%)
CIE-LABlab(75.58, -65.22, 56.49)
CIE-LCHlch(75.58, 86.29, 139.10°)
OKLaboklab(76.8% -0.1768 0.1304)
OKLCHoklch(76.8% 0.22 143.6)
XYZxyz(27.2090, 49.2117, 14.1945)
Luminance0.4921 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D548 #D542CF
analogous
#86D542 #42D548 #42D592
triadic
#42D548 #4842D5 #D54842
tetradic
#42D548 #4286D5 #D542CF #D59242
square
#42D548 #4286D5 #D542CF #D59242
split-complementary
#42D548 #9242D5 #D54286
monochromatic
#1C8021 #28B22D #42D548 #74E078 #A6EBA9

Accessibility & contrast

On white

1.94
#42D548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#42D548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D548
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D548#FFFFFF#000000##000000
##42D5481.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C135
Deuteranopia (green-blind)
#C8B655
Tritanopia (blue-blind)
#11CFB8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #42d548;
/* rgb */ color: rgb(66, 213, 72);
/* oklch */ color: oklch(76.8% 0.220 143.6);
Tailwind
colors: {
  custom: {
    50: '#8ae381',
    500: '#42d548',
    950: '#000000',
  },
}
SCSS
$custom: #42d548;
$custom-light: #8ae381;
$custom-dark: #000000;
JSON
{
  "hex": "#42d548",
  "rgb": {
    "r": 66,
    "g": 213,
    "b": 72
  },
  "hsl": {
    "h": 122.449,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76795,
    "c": 0.21967,
    "h": 143.6
  },
  "luminance": 0.49215
}

Semantic roles & 50–950 ramp

primary
#42D548
secondary
#D89AD6
accent
#41E0E7
background
#F9FEF8
surface
#F2FCEF
border
#CCD5CA
text
#0D160B
muted
#7E847C

Preview Lab

Preview with #42D548

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

Preview Lab → · Contrast checker → · Palette generator →

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