#42E278#42E278

#42E278 is a light, vivid green. Relative luminance 0.569; OKLCH L 80.7% C 0.197 H 150.2°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#42E278
RGBrgb(66, 226, 120)
HSLhsl(140, 73%, 57%)
HSVhsv(140, 71%, 89%)
CMYKcmyk(70.8%, 0%, 46.9%, 11.4%)
CIE-LABlab(80.13, -63.51, 40.05)
CIE-LCHlch(80.13, 75.09, 147.76°)
OKLaboklab(80.72% -0.1709 0.0978)
OKLCHoklch(80.72% 0.197 150.2)
XYZxyz(32.8306, 56.9033, 27.0189)
Luminance0.5691 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42E278 #E242AC
analogous
#5CE242 #42E278 #42E2C8
triadic
#42E278 #7842E2 #E27842
tetradic
#42E278 #425CE2 #E242AC #E2C842
square
#42E278 #425CE2 #E242AC #E2C842
split-complementary
#42E278 #C842E2 #E2425C
monochromatic
#179341 #1FC858 #42E278 #77EA9E #ACF2C4

Accessibility & contrast

On white

1.70
#42E278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#42E278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42E278
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42E278#FFFFFF#000000##000000
##42E2781.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF70
Deuteranopia (green-blind)
#D0C17F
Tritanopia (blue-blind)
#00DEC9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #42e278;
/* rgb */ color: rgb(66, 226, 120);
/* oklch */ color: oklch(80.7% 0.197 150.2);
Tailwind
colors: {
  custom: {
    50: '#8beca0',
    500: '#42e278',
    950: '#000000',
  },
}
SCSS
$custom: #42e278;
$custom-light: #8beca0;
$custom-dark: #000000;
JSON
{
  "hex": "#42e278",
  "rgb": {
    "r": 66,
    "g": 226,
    "b": 120
  },
  "hsl": {
    "h": 140.25,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80723,
    "c": 0.19695,
    "h": 150.2
  },
  "luminance": 0.56907
}

Semantic roles & 50–950 ramp

primary
#42E278
secondary
#983175
accent
#38B2F0
background
#FCFFFC
surface
#F4FEF5
border
#CED6CF
text
#0D160F
muted
#7F8580

Preview Lab

Preview with #42E278

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

Preview Lab → · Contrast checker → · Palette generator →

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