#42D545#42D545

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

Color values

HEX#42D545
RGBrgb(66, 213, 69)
HSLhsl(121, 64%, 55%)
HSVhsv(121, 69%, 84%)
CMYKcmyk(69%, 0%, 67.6%, 16.5%)
CIE-LABlab(75.56, -65.51, 57.66)
CIE-LCHlch(75.56, 87.27, 138.64°)
OKLaboklab(76.77% -0.1777 0.1325)
OKLCHoklch(76.77% 0.222 143.3)
XYZxyz(27.1135, 49.1735, 13.6916)
Luminance0.4918 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D545 #D542D2
analogous
#89D542 #42D545 #42D58E
triadic
#42D545 #4542D5 #D54542
tetradic
#42D545 #4289D5 #D542D2 #D58E42
square
#42D545 #4289D5 #D542D2 #D58E42
split-complementary
#42D545 #8E42D5 #D54289
monochromatic
#1C801F #28B22A #42D545 #74E076 #A6EBA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42D545#FFFFFF#000000##000000
##42D5451.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)
#D9C131
Deuteranopia (green-blind)
#C8B653
Tritanopia (blue-blind)
#13CFB8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #42d545;
/* rgb */ color: rgb(66, 213, 69);
/* oklch */ color: oklch(76.8% 0.222 143.3);
Tailwind
colors: {
  custom: {
    50: '#8ae37f',
    500: '#42d545',
    950: '#000000',
  },
}
SCSS
$custom: #42d545;
$custom-light: #8ae37f;
$custom-dark: #000000;
JSON
{
  "hex": "#42d545",
  "rgb": {
    "r": 66,
    "g": 213,
    "b": 69
  },
  "hsl": {
    "h": 121.224,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76767,
    "c": 0.22167,
    "h": 143.3
  },
  "luminance": 0.49176
}

Semantic roles & 50–950 ramp

primary
#42D545
secondary
#D89AD7
accent
#41E3E7
background
#F9FEF8
surface
#F2FCEF
border
#CCD5CA
text
#0D160B
muted
#7E847C

Preview Lab

Preview with #42D545

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

Preview Lab → · Contrast checker → · Palette generator →

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