#42D754#42D754

#42D754 is a light, highly saturated green. Relative luminance 0.504; OKLCH L 77.4% C 0.213 H 145.0°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#42D754
RGBrgb(66, 215, 84)
HSLhsl(127, 65%, 55%)
HSVhsv(127, 69%, 84%)
CMYKcmyk(69.3%, 0%, 60.9%, 15.7%)
CIE-LABlab(76.31, -64.63, 52.25)
CIE-LCHlch(76.31, 83.11, 141.04°)
OKLaboklab(77.43% -0.1747 0.1225)
OKLCHoklch(77.43% 0.213 145)
XYZxyz(28.1456, 50.3961, 16.6299)
Luminance0.5040 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D754 #D742C5
analogous
#7BD742 #42D754 #42D79E
triadic
#42D754 #5442D7 #D75442
tetradic
#42D754 #427BD7 #D742C5 #D79E42
square
#42D754 #427BD7 #D742C5 #D79E42
split-complementary
#42D754 #9E42D7 #D7427B
monochromatic
#1C8328 #26B538 #42D754 #75E282 #A7ECAF

Accessibility & contrast

On white

1.90
#42D754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.08
#42D754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D754
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D754#FFFFFF#000000##000000
##42D7541.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC445
Deuteranopia (green-blind)
#C9B85F
Tritanopia (blue-blind)
#01D2BB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #42d754;
/* rgb */ color: rgb(66, 215, 84);
/* oklch */ color: oklch(77.4% 0.213 145.0);
Tailwind
colors: {
  custom: {
    50: '#8ae588',
    500: '#42d754',
    950: '#000000',
  },
}
SCSS
$custom: #42d754;
$custom-light: #8ae588;
$custom-dark: #000000;
JSON
{
  "hex": "#42d754",
  "rgb": {
    "r": 66,
    "g": 215,
    "b": 84
  },
  "hsl": {
    "h": 127.248,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77433,
    "c": 0.21336,
    "h": 145
  },
  "luminance": 0.50399
}

Semantic roles & 50–950 ramp

primary
#42D754
secondary
#8A347F
accent
#40D4E8
background
#FCFEFC
surface
#F4FCF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #42D754

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

Preview Lab → · Contrast checker → · Palette generator →

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