#42E242#42E242

#42E242 is a light, highly saturated green. Relative luminance 0.559; OKLCH L 80.1% C 0.238 H 142.9°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#42E242
RGBrgb(66, 226, 66)
HSLhsl(120, 73%, 57%)
HSVhsv(120, 71%, 89%)
CMYKcmyk(70.8%, 0%, 70.8%, 11.4%)
CIE-LABlab(79.58, -69.95, 63.02)
CIE-LCHlch(79.58, 94.15, 137.98°)
OKLaboklab(80.1% -0.1899 0.1434)
OKLCHoklch(80.1% 0.238 142.9)
XYZxyz(30.4246, 55.9409, 14.3475)
Luminance0.5594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42E242 #E242E2
analogous
#92E242 #42E242 #42E292
triadic
#42E242 #4242E2 #E24242
tetradic
#42E242 #4292E2 #E242E2 #E29242
square
#42E242 #4292E2 #E242E2 #E29242
split-complementary
#42E242 #9242E2 #E24292
monochromatic
#179317 #1FC81F #42E242 #77EA77 #ACF2AC

Accessibility & contrast

On white

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

On black

12.19
#42E242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42E242
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42E242#FFFFFF#000000##000000
##42E2421.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD27
Deuteranopia (green-blind)
#D5C052
Tritanopia (blue-blind)
#01DBC3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #42e242;
/* rgb */ color: rgb(66, 226, 66);
/* oklch */ color: oklch(80.1% 0.238 142.9);
Tailwind
colors: {
  custom: {
    50: '#8dec7f',
    500: '#42e242',
    950: '#000000',
  },
}
SCSS
$custom: #42e242;
$custom-light: #8dec7f;
$custom-dark: #000000;
JSON
{
  "hex": "#42e242",
  "rgb": {
    "r": 66,
    "g": 226,
    "b": 66
  },
  "hsl": {
    "h": 120,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80095,
    "c": 0.23795,
    "h": 142.9
  },
  "luminance": 0.55944
}

Semantic roles & 50–950 ramp

primary
#42E242
secondary
#983198
accent
#38F0F0
background
#FCFFFB
surface
#F5FEF2
border
#CFD6CC
text
#0E160B
muted
#7F857E

Preview Lab

Preview with #42E242

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

Preview Lab → · Contrast checker → · Palette generator →

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