#42E540#42E540

#42E540 is a light, highly saturated green. Relative luminance 0.576; OKLCH L 80.9% C 0.242 H 142.8°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#42E540
RGBrgb(66, 229, 64)
HSLhsl(119, 76%, 57%)
HSVhsv(119, 72%, 90%)
CMYKcmyk(71.2%, 0%, 72.1%, 10.2%)
CIE-LABlab(80.50, -71.06, 64.67)
CIE-LCHlch(80.50, 96.08, 137.69°)
OKLaboklab(80.85% -0.193 0.1466)
OKLCHoklch(80.85% 0.242 142.8)
XYZxyz(31.1896, 57.5636, 14.3166)
Luminance0.5757 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42E540 #E340E5
analogous
#94E540 #42E540 #40E591
triadic
#42E540 #4042E5 #E54042
tetradic
#42E540 #4094E5 #E340E5 #E59140
square
#42E540 #4094E5 #E340E5 #E59140
split-complementary
#42E540 #9140E5 #E54094
monochromatic
#169614 #1ECC1C #42E540 #77EC76 #ADF4AC

Accessibility & contrast

On white

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

On black

12.51
#42E540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42E540
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42E540#FFFFFF#000000##000000
##42E5401.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD022
Deuteranopia (green-blind)
#D7C351
Tritanopia (blue-blind)
#00DEC5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #42e540;
/* rgb */ color: rgb(66, 229, 64);
/* oklch */ color: oklch(80.9% 0.242 142.8);
Tailwind
colors: {
  custom: {
    50: '#8eef7e',
    500: '#42e540',
    950: '#000000',
  },
}
SCSS
$custom: #42e540;
$custom-light: #8eef7e;
$custom-dark: #000000;
JSON
{
  "hex": "#42e540",
  "rgb": {
    "r": 66,
    "g": 229,
    "b": 64
  },
  "hsl": {
    "h": 119.273,
    "s": 76.037,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80851,
    "c": 0.24234,
    "h": 142.8
  },
  "luminance": 0.57567
}

Semantic roles & 50–950 ramp

primary
#42E540
secondary
#992F9A
accent
#35F3F0
background
#FCFFFB
surface
#F5FEF2
border
#CFD6CC
text
#0E170B
muted
#7F857E

Preview Lab

Preview with #42E540

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

Preview Lab → · Contrast checker → · Palette generator →

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