#42E255#42E255

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

Color values

HEX#42E255
RGBrgb(66, 226, 85)
HSLhsl(127, 73%, 57%)
HSVhsv(127, 71%, 89%)
CMYKcmyk(70.8%, 0%, 62.4%, 11.4%)
CIE-LABlab(79.73, -68.15, 55.69)
CIE-LCHlch(79.73, 88.01, 140.75°)
OKLaboklab(80.27% -0.1842 0.13)
OKLCHoklch(80.27% 0.225 144.8)
XYZxyz(31.0807, 56.2034, 17.8029)
Luminance0.5621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42E255 #E242CF
analogous
#7FE242 #42E255 #42E2A5
triadic
#42E255 #5542E2 #E25542
tetradic
#42E255 #427FE2 #E242CF #E2A542
square
#42E255 #427FE2 #E242CF #E2A542
split-complementary
#42E255 #A542E2 #E2427F
monochromatic
#179325 #1FC833 #42E255 #77EA85 #ACF2B4

Accessibility & contrast

On white

1.72
#42E255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#42E255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42E255
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42E255#FFFFFF#000000##000000
##42E2551.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42e255;
/* rgb */ color: rgb(66, 226, 85);
/* oklch */ color: oklch(80.3% 0.225 144.8);
Tailwind
colors: {
  custom: {
    50: '#8cec8a',
    500: '#42e255',
    950: '#000000',
  },
}
SCSS
$custom: #42e255;
$custom-light: #8cec8a;
$custom-dark: #000000;
JSON
{
  "hex": "#42e255",
  "rgb": {
    "r": 66,
    "g": 226,
    "b": 85
  },
  "hsl": {
    "h": 127.125,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80267,
    "c": 0.22543,
    "h": 144.8
  },
  "luminance": 0.56207
}

Semantic roles & 50–950 ramp

primary
#42E255
secondary
#98318B
accent
#38DAF0
background
#FCFFFC
surface
#F5FEF4
border
#CFD6CE
text
#0E160C
muted
#7F857F

Preview Lab

Preview with #42E255

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

Preview Lab → · Contrast checker → · Palette generator →

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