#42D98D#42D98D

#42D98D is a light, vivid green. Relative luminance 0.527; OKLCH L 78.8% C 0.167 H 156.7°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#42D98D
RGBrgb(66, 217, 141)
HSLhsl(150, 67%, 55%)
HSVhsv(150, 70%, 85%)
CMYKcmyk(69.6%, 0%, 35%, 14.9%)
CIE-LABlab(77.70, -56.53, 26.28)
CIE-LCHlch(77.70, 62.34, 155.07°)
OKLaboklab(78.83% -0.1531 0.0661)
OKLCHoklch(78.83% 0.167 156.7)
XYZxyz(31.8643, 52.7035, 33.6876)
Luminance0.5271 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D98D #D9428E
analogous
#42D942 #42D98D #42D9D8
triadic
#42D98D #8D42D9 #D98D42
tetradic
#42D98D #4242D9 #D9428E #D9D842
square
#42D98D #4242D9 #D9428E #D9D842
split-complementary
#42D98D #D842D9 #D94242
monochromatic
#1B8650 #25B96E #42D98D #75E3AC #A8EDCA

Accessibility & contrast

On white

1.82
#42D98D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#42D98D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D98D
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D98D#FFFFFF#000000##000000
##42D98D1.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C888
Deuteranopia (green-blind)
#C5BB92
Tritanopia (blue-blind)
#00D7C5
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #42d98d;
/* rgb */ color: rgb(66, 217, 141);
/* oklch */ color: oklch(78.8% 0.167 156.7);
Tailwind
colors: {
  custom: {
    50: '#89e6af',
    500: '#42d98d',
    950: '#000000',
  },
}
SCSS
$custom: #42d98d;
$custom-light: #89e6af;
$custom-dark: #000000;
JSON
{
  "hex": "#42d98d",
  "rgb": {
    "r": 66,
    "g": 217,
    "b": 141
  },
  "hsl": {
    "h": 149.801,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.7883,
    "c": 0.16677,
    "h": 156.7
  },
  "luminance": 0.52707
}

Semantic roles & 50–950 ramp

primary
#42D98D
secondary
#8C3360
accent
#3E94E9
background
#FCFEFD
surface
#F4FCF7
border
#CED5D0
text
#0D1610
muted
#7F8481

Preview Lab

Preview with #42D98D

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

Preview Lab → · Contrast checker → · Palette generator →

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