#42D951#42D951

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

Color values

HEX#42D951
RGBrgb(66, 217, 81)
HSLhsl(126, 67%, 55%)
HSVhsv(126, 70%, 85%)
CMYKcmyk(69.6%, 0%, 62.7%, 14.9%)
CIE-LABlab(76.91, -65.63, 54.21)
CIE-LCHlch(76.91, 85.12, 140.44°)
OKLaboklab(77.92% -0.1775 0.1264)
OKLCHoklch(77.92% 0.218 144.5)
XYZxyz(28.5430, 51.3749, 16.1951)
Luminance0.5138 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D951 #D942CA
analogous
#7FD942 #42D951 #42D99C
triadic
#42D951 #5142D9 #D95142
tetradic
#42D951 #427FD9 #D942CA #D99C42
square
#42D951 #427FD9 #D942CA #D99C42
split-complementary
#42D951 #9C42D9 #D9427F
monochromatic
#1B8625 #25B934 #42D951 #75E380 #A8EDAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42D951#FFFFFF#000000##000000
##42D9511.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)
#DDC541
Deuteranopia (green-blind)
#CBB95D
Tritanopia (blue-blind)
#01D3BC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #42d951;
/* rgb */ color: rgb(66, 217, 81);
/* oklch */ color: oklch(77.9% 0.218 144.5);
Tailwind
colors: {
  custom: {
    50: '#8ae687',
    500: '#42d951',
    950: '#000000',
  },
}
SCSS
$custom: #42d951;
$custom-light: #8ae687;
$custom-dark: #000000;
JSON
{
  "hex": "#42d951",
  "rgb": {
    "r": 66,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 125.96,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77916,
    "c": 0.21793,
    "h": 144.5
  },
  "luminance": 0.51378
}

Semantic roles & 50–950 ramp

primary
#42D951
secondary
#8C3383
accent
#3ED8E9
background
#FCFEFC
surface
#F4FCF3
border
#CED5CD
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #42D951

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

Preview Lab → · Contrast checker → · Palette generator →

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