#42E271#42E271

#42E271 is a light, highly saturated green. Relative luminance 0.567; OKLCH L 80.6% C 0.203 H 148.9°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#42E271
RGBrgb(66, 226, 113)
HSLhsl(138, 73%, 57%)
HSVhsv(138, 71%, 89%)
CMYKcmyk(70.8%, 0%, 50%, 11.4%)
CIE-LABlab(80.03, -64.58, 43.33)
CIE-LCHlch(80.03, 77.77, 146.14°)
OKLaboklab(80.62% -0.1738 0.1049)
OKLCHoklch(80.62% 0.203 148.9)
XYZxyz(32.4212, 56.7396, 24.8628)
Luminance0.5674 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42E271 #E242B3
analogous
#63E242 #42E271 #42E2C1
triadic
#42E271 #7142E2 #E27142
tetradic
#42E271 #4263E2 #E242B3 #E2C142
square
#42E271 #4263E2 #E242B3 #E2C142
split-complementary
#42E271 #C142E2 #E24263
monochromatic
#17933B #1FC850 #42E271 #77EA99 #ACF2C1

Accessibility & contrast

On white

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

On black

12.35
#42E271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42E271
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42E271#FFFFFF#000000##000000
##42E2711.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF67
Deuteranopia (green-blind)
#D1C179
Tritanopia (blue-blind)
#00DEC8
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #42e271;
/* rgb */ color: rgb(66, 226, 113);
/* oklch */ color: oklch(80.6% 0.203 148.9);
Tailwind
colors: {
  custom: {
    50: '#8bec9c',
    500: '#42e271',
    950: '#000000',
  },
}
SCSS
$custom: #42e271;
$custom-light: #8bec9c;
$custom-dark: #000000;
JSON
{
  "hex": "#42e271",
  "rgb": {
    "r": 66,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 137.625,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80617,
    "c": 0.20303,
    "h": 148.9
  },
  "luminance": 0.56743
}

Semantic roles & 50–950 ramp

primary
#42E271
secondary
#983179
accent
#38BAF0
background
#FCFFFC
surface
#F4FEF5
border
#CED6CF
text
#0E160E
muted
#7F857F

Preview Lab

Preview with #42E271

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

Preview Lab → · Contrast checker → · Palette generator →

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