#42E257#42E257

#42E257 is a light, highly saturated green. Relative luminance 0.562; OKLCH L 80.3% C 0.224 H 145.0°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#42E257
RGBrgb(66, 226, 87)
HSLhsl(128, 73%, 57%)
HSVhsv(128, 71%, 89%)
CMYKcmyk(70.8%, 0%, 61.5%, 11.4%)
CIE-LABlab(79.75, -67.94, 54.86)
CIE-LCHlch(79.75, 87.32, 141.08°)
OKLaboklab(80.29% -0.1835 0.1284)
OKLCHoklch(80.29% 0.224 145)
XYZxyz(31.1613, 56.2356, 18.2273)
Luminance0.5624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42E257 #E242CD
analogous
#7DE242 #42E257 #42E2A7
triadic
#42E257 #5742E2 #E25742
tetradic
#42E257 #427DE2 #E242CD #E2A742
square
#42E257 #427DE2 #E242CD #E2A742
split-complementary
#42E257 #A742E2 #E2427D
monochromatic
#179327 #1FC835 #42E257 #77EA86 #ACF2B5

Accessibility & contrast

On white

1.71
#42E257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#42E257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42E257
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42E257#FFFFFF#000000##000000
##42E2571.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD47
Deuteranopia (green-blind)
#D3C163
Tritanopia (blue-blind)
#00DCC4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #42e257;
/* rgb */ color: rgb(66, 226, 87);
/* oklch */ color: oklch(80.3% 0.224 145.0);
Tailwind
colors: {
  custom: {
    50: '#8cec8b',
    500: '#42e257',
    950: '#000000',
  },
}
SCSS
$custom: #42e257;
$custom-light: #8cec8b;
$custom-dark: #000000;
JSON
{
  "hex": "#42e257",
  "rgb": {
    "r": 66,
    "g": 226,
    "b": 87
  },
  "hsl": {
    "h": 127.875,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80288,
    "c": 0.22397,
    "h": 145
  },
  "luminance": 0.56239
}

Semantic roles & 50–950 ramp

primary
#42E257
secondary
#98318A
accent
#38D8F0
background
#FCFFFC
surface
#F5FEF4
border
#CFD6CE
text
#0E160C
muted
#7F857F

Preview Lab

Preview with #42E257

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

Preview Lab → · Contrast checker → · Palette generator →

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