#42E277#42E277

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

Color values

HEX#42E277
RGBrgb(66, 226, 119)
HSLhsl(140, 73%, 57%)
HSVhsv(140, 71%, 89%)
CMYKcmyk(70.8%, 0%, 47.3%, 11.4%)
CIE-LABlab(80.11, -63.67, 40.52)
CIE-LCHlch(80.11, 75.47, 147.52°)
OKLaboklab(80.71% -0.1713 0.0989)
OKLCHoklch(80.71% 0.198 150)
XYZxyz(32.7702, 56.8792, 26.7009)
Luminance0.5688 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42E277 #E242AD
analogous
#5DE242 #42E277 #42E2C7
triadic
#42E277 #7742E2 #E27742
tetradic
#42E277 #425DE2 #E242AD #E2C742
square
#42E277 #425DE2 #E242AD #E2C742
split-complementary
#42E277 #C742E2 #E2425D
monochromatic
#179340 #1FC857 #42E277 #77EA9D #ACF2C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42E277#FFFFFF#000000##000000
##42E2771.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)
#E3CF6E
Deuteranopia (green-blind)
#D0C17F
Tritanopia (blue-blind)
#00DEC9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #42e277;
/* rgb */ color: rgb(66, 226, 119);
/* oklch */ color: oklch(80.7% 0.198 150.0);
Tailwind
colors: {
  custom: {
    50: '#8beca0',
    500: '#42e277',
    950: '#000000',
  },
}
SCSS
$custom: #42e277;
$custom-light: #8beca0;
$custom-dark: #000000;
JSON
{
  "hex": "#42e277",
  "rgb": {
    "r": 66,
    "g": 226,
    "b": 119
  },
  "hsl": {
    "h": 139.875,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80707,
    "c": 0.19783,
    "h": 150
  },
  "luminance": 0.56883
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42E277

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

Preview Lab → · Contrast checker → · Palette generator →

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