#42E28F#42E28F

#42E28F is a light, vivid green. Relative luminance 0.575; OKLCH L 81.1% C 0.177 H 155.7°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#42E28F
RGBrgb(66, 226, 143)
HSLhsl(149, 73%, 57%)
HSVhsv(149, 71%, 89%)
CMYKcmyk(70.8%, 0%, 36.7%, 11.4%)
CIE-LABlab(80.48, -59.53, 28.98)
CIE-LCHlch(80.48, 66.21, 154.04°)
OKLaboklab(81.13% -0.1609 0.0726)
OKLCHoklch(81.13% 0.177 155.7)
XYZxyz(34.3978, 57.5302, 35.2729)
Luminance0.5753 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42E28F #E24295
analogous
#45E242 #42E28F #42E2DF
triadic
#42E28F #8F42E2 #E28F42
tetradic
#42E28F #4245E2 #E24295 #E2DF42
square
#42E28F #4245E2 #E24295 #E2DF42
split-complementary
#42E28F #DF42E2 #E24245
monochromatic
#179352 #1FC870 #42E28F #77EAAE #ACF2CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42E28F#FFFFFF#000000##000000
##42E28F1.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)
#E1D08A
Deuteranopia (green-blind)
#CDC294
Tritanopia (blue-blind)
#00E0CD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #42e28f;
/* rgb */ color: rgb(66, 226, 143);
/* oklch */ color: oklch(81.1% 0.177 155.7);
Tailwind
colors: {
  custom: {
    50: '#8becb0',
    500: '#42e28f',
    950: '#000000',
  },
}
SCSS
$custom: #42e28f;
$custom-light: #8becb0;
$custom-dark: #000000;
JSON
{
  "hex": "#42e28f",
  "rgb": {
    "r": 66,
    "g": 226,
    "b": 143
  },
  "hsl": {
    "h": 148.875,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81128,
    "c": 0.17655,
    "h": 155.7
  },
  "luminance": 0.57534
}

Semantic roles & 50–950 ramp

primary
#42E28F
secondary
#983166
accent
#3897F0
background
#FCFFFD
surface
#F4FEF7
border
#CED6D0
text
#0D1610
muted
#7F8581

Preview Lab

Preview with #42E28F

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

Preview Lab → · Contrast checker → · Palette generator →

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