#42D952#42D952

#42D952 is a light, highly saturated green. Relative luminance 0.514; OKLCH L 77.9% C 0.217 H 144.7°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#42D952
RGBrgb(66, 217, 82)
HSLhsl(126, 67%, 55%)
HSVhsv(126, 70%, 85%)
CMYKcmyk(69.6%, 0%, 62.2%, 14.9%)
CIE-LABlab(76.91, -65.52, 53.80)
CIE-LCHlch(76.91, 84.78, 140.61°)
OKLaboklab(77.93% -0.1772 0.1257)
OKLCHoklch(77.93% 0.217 144.7)
XYZxyz(28.5807, 51.3900, 16.3940)
Luminance0.5139 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D952 #D942C9
analogous
#7DD942 #42D952 #42D99E
triadic
#42D952 #5242D9 #D95242
tetradic
#42D952 #427DD9 #D942C9 #D99E42
square
#42D952 #427DD9 #D942C9 #D99E42
split-complementary
#42D952 #9E42D9 #D9427D
monochromatic
#1B8626 #25B935 #42D952 #75E381 #A8EDAF

Accessibility & contrast

On white

1.86
#42D952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#42D952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D952
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D952#FFFFFF#000000##000000
##42D9521.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC542
Deuteranopia (green-blind)
#CBB95E
Tritanopia (blue-blind)
#00D3BC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #42d952;
/* rgb */ color: rgb(66, 217, 82);
/* oklch */ color: oklch(77.9% 0.217 144.7);
Tailwind
colors: {
  custom: {
    50: '#8ae687',
    500: '#42d952',
    950: '#000000',
  },
}
SCSS
$custom: #42d952;
$custom-light: #8ae687;
$custom-dark: #000000;
JSON
{
  "hex": "#42d952",
  "rgb": {
    "r": 66,
    "g": 217,
    "b": 82
  },
  "hsl": {
    "h": 126.358,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77926,
    "c": 0.2172,
    "h": 144.7
  },
  "luminance": 0.51393
}

Semantic roles & 50–950 ramp

primary
#42D952
secondary
#8C3383
accent
#3ED7E9
background
#FCFEFC
surface
#F4FCF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #42D952

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

Preview Lab → · Contrast checker → · Palette generator →

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