#42D98C#42D98C

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

Color values

HEX#42D98C
RGBrgb(66, 217, 140)
HSLhsl(149, 67%, 55%)
HSVhsv(149, 70%, 85%)
CMYKcmyk(69.6%, 0%, 35.5%, 14.9%)
CIE-LABlab(77.68, -56.73, 26.78)
CIE-LCHlch(77.68, 62.73, 154.73°)
OKLaboklab(78.81% -0.1536 0.0673)
OKLCHoklch(78.81% 0.168 156.4)
XYZxyz(31.7903, 52.6738, 33.2975)
Luminance0.5268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D98C #D9428F
analogous
#43D942 #42D98C #42D9D8
triadic
#42D98C #8C42D9 #D98C42
tetradic
#42D98C #4243D9 #D9428F #D9D842
square
#42D98C #4243D9 #D9428F #D9D842
split-complementary
#42D98C #D842D9 #D94243
monochromatic
#1B864F #25B96D #42D98C #75E3AB #A8EDCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42D98C#FFFFFF#000000##000000
##42D98C1.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)
#D8C887
Deuteranopia (green-blind)
#C5BB91
Tritanopia (blue-blind)
#00D7C5
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #42d98c;
/* rgb */ color: rgb(66, 217, 140);
/* oklch */ color: oklch(78.8% 0.168 156.4);
Tailwind
colors: {
  custom: {
    50: '#89e6ae',
    500: '#42d98c',
    950: '#000000',
  },
}
SCSS
$custom: #42d98c;
$custom-light: #89e6ae;
$custom-dark: #000000;
JSON
{
  "hex": "#42d98c",
  "rgb": {
    "r": 66,
    "g": 217,
    "b": 140
  },
  "hsl": {
    "h": 149.404,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.7881,
    "c": 0.16765,
    "h": 156.4
  },
  "luminance": 0.52677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42D98C

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

Preview Lab → · Contrast checker → · Palette generator →

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