#42D852#42D852

#42D852 is a light, highly saturated green. Relative luminance 0.509; OKLCH L 77.7% C 0.216 H 144.7°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#42D852
RGBrgb(66, 216, 82)
HSLhsl(126, 66%, 55%)
HSVhsv(126, 69%, 85%)
CMYKcmyk(69.4%, 0%, 62%, 15.3%)
CIE-LABlab(76.60, -65.18, 53.45)
CIE-LCHlch(76.60, 84.30, 140.65°)
OKLaboklab(77.67% -0.1763 0.1249)
OKLCHoklch(77.67% 0.216 144.7)
XYZxyz(28.3238, 50.8761, 16.3084)
Luminance0.5088 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D852 #D842C8
analogous
#7DD842 #42D852 #42D89D
triadic
#42D852 #5242D8 #D85242
tetradic
#42D852 #427DD8 #D842C8 #D89D42
square
#42D852 #427DD8 #D842C8 #D89D42
split-complementary
#42D852 #9D42D8 #D8427D
monochromatic
#1B8427 #26B735 #42D852 #75E280 #A7EDAF

Accessibility & contrast

On white

1.88
#42D852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#42D852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D852
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D852#FFFFFF#000000##000000
##42D8521.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC443
Deuteranopia (green-blind)
#CAB85D
Tritanopia (blue-blind)
#02D2BC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #42d852;
/* rgb */ color: rgb(66, 216, 82);
/* oklch */ color: oklch(77.7% 0.216 144.7);
Tailwind
colors: {
  custom: {
    50: '#8ae587',
    500: '#42d852',
    950: '#000000',
  },
}
SCSS
$custom: #42d852;
$custom-light: #8ae587;
$custom-dark: #000000;
JSON
{
  "hex": "#42d852",
  "rgb": {
    "r": 66,
    "g": 216,
    "b": 82
  },
  "hsl": {
    "h": 126.4,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77669,
    "c": 0.21604,
    "h": 144.7
  },
  "luminance": 0.50879
}

Semantic roles & 50–950 ramp

primary
#42D852
secondary
#8B3382
accent
#3FD7E9
background
#FCFEFC
surface
#F4FCF3
border
#CED5CD
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #42D852

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

Preview Lab → · Contrast checker → · Palette generator →

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