#42E28C#42E28C

#42E28C is a light, vivid green. Relative luminance 0.574; OKLCH L 81.1% C 0.179 H 154.9°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#42E28C
RGBrgb(66, 226, 140)
HSLhsl(148, 73%, 57%)
HSVhsv(148, 71%, 89%)
CMYKcmyk(70.8%, 0%, 38.1%, 11.4%)
CIE-LABlab(80.43, -60.09, 30.44)
CIE-LCHlch(80.43, 67.37, 153.13°)
OKLaboklab(81.07% -0.1623 0.076)
OKLCHoklch(81.07% 0.179 154.9)
XYZxyz(34.1736, 57.4405, 34.0920)
Luminance0.5744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42E28C #E24298
analogous
#48E242 #42E28C #42E2DC
triadic
#42E28C #8C42E2 #E28C42
tetradic
#42E28C #4248E2 #E24298 #E2DC42
square
#42E28C #4248E2 #E24298 #E2DC42
split-complementary
#42E28C #DC42E2 #E24248
monochromatic
#179350 #1FC86D #42E28C #77EAAC #ACF2CD

Accessibility & contrast

On white

1.68
#42E28C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#42E28C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42E28C
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42E28C#FFFFFF#000000##000000
##42E28C1.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D086
Deuteranopia (green-blind)
#CEC292
Tritanopia (blue-blind)
#00E0CC
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #42e28c;
/* rgb */ color: rgb(66, 226, 140);
/* oklch */ color: oklch(81.1% 0.179 154.9);
Tailwind
colors: {
  custom: {
    50: '#8becae',
    500: '#42e28c',
    950: '#000000',
  },
}
SCSS
$custom: #42e28c;
$custom-light: #8becae;
$custom-dark: #000000;
JSON
{
  "hex": "#42e28c",
  "rgb": {
    "r": 66,
    "g": 226,
    "b": 140
  },
  "hsl": {
    "h": 147.75,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.8107,
    "c": 0.1792,
    "h": 154.9
  },
  "luminance": 0.57444
}

Semantic roles & 50–950 ramp

primary
#42E28C
secondary
#983168
accent
#389BF0
background
#FCFFFD
surface
#F4FEF7
border
#CED6D0
text
#0D1610
muted
#7F8581

Preview Lab

Preview with #42E28C

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

Preview Lab → · Contrast checker → · Palette generator →

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