#42D151#42D151

#42D151 is a light, highly saturated green. Relative luminance 0.474; OKLCH L 75.9% C 0.209 H 144.7°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#42D151
RGBrgb(66, 209, 81)
HSLhsl(126, 61%, 54%)
HSVhsv(126, 68%, 82%)
CMYKcmyk(68.4%, 0%, 61.2%, 18%)
CIE-LABlab(74.41, -62.94, 51.40)
CIE-LCHlch(74.41, 81.27, 140.76°)
OKLaboklab(75.85% -0.1702 0.1204)
OKLCHoklch(75.85% 0.209 144.7)
XYZxyz(26.5307, 47.3504, 15.5243)
Luminance0.4735 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D151 #D142C2
analogous
#7BD142 #42D151 #42D199
triadic
#42D151 #5142D1 #D15142
tetradic
#42D151 #427BD1 #D142C2 #D19942
square
#42D151 #427BD1 #D142C2 #D19942
split-complementary
#42D151 #9942D1 #D1427B
monochromatic
#1E7B28 #2AAC37 #42D151 #73DD7E #A4E9AC

Accessibility & contrast

On white

2.01
#42D151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#42D151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D151
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D151#FFFFFF#000000##000000
##42D1511.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE43
Deuteranopia (green-blind)
#C4B25C
Tritanopia (blue-blind)
#0FCCB6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #42d151;
/* rgb */ color: rgb(66, 209, 81);
/* oklch */ color: oklch(75.9% 0.209 144.7);
Tailwind
colors: {
  custom: {
    50: '#89e086',
    500: '#42d151',
    950: '#000000',
  },
}
SCSS
$custom: #42d151;
$custom-light: #89e086;
$custom-dark: #000000;
JSON
{
  "hex": "#42d151",
  "rgb": {
    "r": 66,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 126.294,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.75852,
    "c": 0.20853,
    "h": 144.7
  },
  "luminance": 0.47353
}

Semantic roles & 50–950 ramp

primary
#42D151
secondary
#D699D0
accent
#44D3E4
background
#F9FDF8
surface
#F1FBF0
border
#CBD4CB
text
#0D150B
muted
#7E837C

Preview Lab

Preview with #42D151

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

Preview Lab → · Contrast checker → · Palette generator →

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