#42E157#42E157

#42E157 is a light, highly saturated green. Relative luminance 0.557; OKLCH L 80.0% C 0.223 H 145.1°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#42E157
RGBrgb(66, 225, 87)
HSLhsl(128, 73%, 57%)
HSVhsv(128, 71%, 88%)
CMYKcmyk(70.7%, 0%, 61.3%, 11.8%)
CIE-LABlab(79.44, -67.61, 54.51)
CIE-LCHlch(79.44, 86.84, 141.12°)
OKLaboklab(80.03% -0.1826 0.1276)
OKLCHoklch(80.03% 0.223 145.1)
XYZxyz(30.8902, 55.6934, 18.1369)
Luminance0.5570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42E157 #E142CC
analogous
#7CE142 #42E157 #42E1A7
triadic
#42E157 #5742E1 #E15742
tetradic
#42E157 #427CE1 #E142CC #E1A742
square
#42E157 #427CE1 #E142CC #E1A742
split-complementary
#42E157 #A742E1 #E1427C
monochromatic
#179227 #1FC636 #42E157 #77E986 #ACF2B5

Accessibility & contrast

On white

1.73
#42E157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#42E157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42E157
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42E157#FFFFFF#000000##000000
##42E1571.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD47
Deuteranopia (green-blind)
#D2C063
Tritanopia (blue-blind)
#00DBC4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #42e157;
/* rgb */ color: rgb(66, 225, 87);
/* oklch */ color: oklch(80.0% 0.223 145.1);
Tailwind
colors: {
  custom: {
    50: '#8cec8b',
    500: '#42e157',
    950: '#000000',
  },
}
SCSS
$custom: #42e157;
$custom-light: #8cec8b;
$custom-dark: #000000;
JSON
{
  "hex": "#42e157",
  "rgb": {
    "r": 66,
    "g": 225,
    "b": 87
  },
  "hsl": {
    "h": 127.925,
    "s": 72.603,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80032,
    "c": 0.22281,
    "h": 145.1
  },
  "luminance": 0.55697
}

Semantic roles & 50–950 ramp

primary
#42E157
secondary
#963189
accent
#38D7EF
background
#FCFFFC
surface
#F5FEF4
border
#CFD6CE
text
#0E160C
muted
#7F857F

Preview Lab

Preview with #42E157

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

Preview Lab → · Contrast checker → · Palette generator →

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