#42D98A#42D98A

#42D98A is a light, vivid green. Relative luminance 0.526; OKLCH L 78.8% C 0.169 H 155.7°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#42D98A
RGBrgb(66, 217, 138)
HSLhsl(149, 67%, 55%)
HSVhsv(149, 70%, 85%)
CMYKcmyk(69.6%, 0%, 36.4%, 14.9%)
CIE-LABlab(77.65, -57.11, 27.76)
CIE-LCHlch(77.65, 63.50, 154.08°)
OKLaboklab(78.77% -0.1545 0.0696)
OKLCHoklch(78.77% 0.169 155.7)
XYZxyz(31.6441, 52.6154, 32.5279)
Luminance0.5262 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D98A #D94291
analogous
#45D942 #42D98A #42D9D5
triadic
#42D98A #8A42D9 #D98A42
tetradic
#42D98A #4245D9 #D94291 #D9D542
square
#42D98A #4245D9 #D94291 #D9D542
split-complementary
#42D98A #D542D9 #D94245
monochromatic
#1B864E #25B96B #42D98A #75E3AA #A8EDC9

Accessibility & contrast

On white

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

On black

11.52
#42D98A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D98A
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D98A#FFFFFF#000000##000000
##42D98A1.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42d98a;
/* rgb */ color: rgb(66, 217, 138);
/* oklch */ color: oklch(78.8% 0.169 155.7);
Tailwind
colors: {
  custom: {
    50: '#89e6ac',
    500: '#42d98a',
    950: '#000000',
  },
}
SCSS
$custom: #42d98a;
$custom-light: #89e6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#42d98a",
  "rgb": {
    "r": 66,
    "g": 217,
    "b": 138
  },
  "hsl": {
    "h": 148.609,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.7877,
    "c": 0.16943,
    "h": 155.7
  },
  "luminance": 0.52619
}

Semantic roles & 50–950 ramp

primary
#42D98A
secondary
#8C3362
accent
#3E98E9
background
#FCFEFD
surface
#F4FCF7
border
#CED5D0
text
#0D1610
muted
#7F8481

Preview Lab

Preview with #42D98A

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

Preview Lab → · Contrast checker → · Palette generator →

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