#42E254#42E254

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

Color values

HEX#42E254
RGBrgb(66, 226, 84)
HSLhsl(127, 73%, 57%)
HSVhsv(127, 71%, 89%)
CMYKcmyk(70.8%, 0%, 62.8%, 11.4%)
CIE-LABlab(79.72, -68.26, 56.10)
CIE-LCHlch(79.72, 88.36, 140.59°)
OKLaboklab(80.26% -0.1845 0.1307)
OKLCHoklch(80.26% 0.226 144.7)
XYZxyz(31.0413, 56.1876, 17.5952)
Luminance0.5619 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42E254 #E242D0
analogous
#80E242 #42E254 #42E2A4
triadic
#42E254 #5442E2 #E25442
tetradic
#42E254 #4280E2 #E242D0 #E2A442
square
#42E254 #4280E2 #E242D0 #E2A442
split-complementary
#42E254 #A442E2 #E24280
monochromatic
#179325 #1FC832 #42E254 #77EA84 #ACF2B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42E254#FFFFFF#000000##000000
##42E2541.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)
#E6CD43
Deuteranopia (green-blind)
#D3C160
Tritanopia (blue-blind)
#00DCC4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #42e254;
/* rgb */ color: rgb(66, 226, 84);
/* oklch */ color: oklch(80.3% 0.226 144.7);
Tailwind
colors: {
  custom: {
    50: '#8cec89',
    500: '#42e254',
    950: '#000000',
  },
}
SCSS
$custom: #42e254;
$custom-light: #8cec89;
$custom-dark: #000000;
JSON
{
  "hex": "#42e254",
  "rgb": {
    "r": 66,
    "g": 226,
    "b": 84
  },
  "hsl": {
    "h": 126.75,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80257,
    "c": 0.22615,
    "h": 144.7
  },
  "luminance": 0.56191
}

Semantic roles & 50–950 ramp

primary
#42E254
secondary
#98318C
accent
#38DBF0
background
#FCFFFC
surface
#F5FEF4
border
#CFD6CE
text
#0E160C
muted
#7F857F

Preview Lab

Preview with #42E254

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

Preview Lab → · Contrast checker → · Palette generator →

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