#42E240#42E240

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

Color values

HEX#42E240
RGBrgb(66, 226, 64)
HSLhsl(119, 74%, 57%)
HSVhsv(119, 72%, 89%)
CMYKcmyk(70.8%, 0%, 71.7%, 11.4%)
CIE-LABlab(79.57, -70.11, 63.72)
CIE-LCHlch(79.57, 94.74, 137.73°)
OKLaboklab(80.08% -0.1904 0.1446)
OKLCHoklch(80.08% 0.239 142.8)
XYZxyz(30.3667, 55.9178, 14.0423)
Luminance0.5592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42E240 #E040E2
analogous
#93E240 #42E240 #40E28F
triadic
#42E240 #4042E2 #E24042
tetradic
#42E240 #4093E2 #E040E2 #E28F40
square
#42E240 #4093E2 #E040E2 #E28F40
split-complementary
#42E240 #8F40E2 #E24093
monochromatic
#189216 #20C71E #42E240 #77EA75 #ABF2AA

Accessibility & contrast

On white

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

On black

12.18
#42E240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42E240
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42E240#FFFFFF#000000##000000
##42E2401.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD23
Deuteranopia (green-blind)
#D5C051
Tritanopia (blue-blind)
#03DBC2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #42e240;
/* rgb */ color: rgb(66, 226, 64);
/* oklch */ color: oklch(80.1% 0.239 142.8);
Tailwind
colors: {
  custom: {
    50: '#8dec7e',
    500: '#42e240',
    950: '#000000',
  },
}
SCSS
$custom: #42e240;
$custom-light: #8dec7e;
$custom-dark: #000000;
JSON
{
  "hex": "#42e240",
  "rgb": {
    "r": 66,
    "g": 226,
    "b": 64
  },
  "hsl": {
    "h": 119.259,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.8008,
    "c": 0.23911,
    "h": 142.8
  },
  "luminance": 0.55921
}

Semantic roles & 50–950 ramp

primary
#42E240
secondary
#953096
accent
#38F0EE
background
#FCFFFB
surface
#F5FEF2
border
#CFD6CC
text
#0E160B
muted
#7F857E

Preview Lab

Preview with #42E240

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

Preview Lab → · Contrast checker → · Palette generator →

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