#42E171#42E171

#42E171 is a light, highly saturated green. Relative luminance 0.562; OKLCH L 80.4% C 0.202 H 148.9°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#42E171
RGBrgb(66, 225, 113)
HSLhsl(138, 73%, 57%)
HSVhsv(138, 71%, 88%)
CMYKcmyk(70.7%, 0%, 49.8%, 11.8%)
CIE-LABlab(79.73, -64.23, 42.95)
CIE-LCHlch(79.73, 77.27, 146.23°)
OKLaboklab(80.36% -0.1729 0.1041)
OKLCHoklch(80.36% 0.202 148.9)
XYZxyz(32.1501, 56.1973, 24.7724)
Luminance0.5620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42E171 #E142B2
analogous
#63E142 #42E171 #42E1C1
triadic
#42E171 #7142E1 #E17142
tetradic
#42E171 #4263E1 #E142B2 #E1C142
square
#42E171 #4263E1 #E142B2 #E1C142
split-complementary
#42E171 #C142E1 #E14263
monochromatic
#17923B #1FC651 #42E171 #77E999 #ACF2C0

Accessibility & contrast

On white

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

On black

12.24
#42E171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42E171
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42E171#FFFFFF#000000##000000
##42E1711.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE68
Deuteranopia (green-blind)
#D0C079
Tritanopia (blue-blind)
#00DDC7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #42e171;
/* rgb */ color: rgb(66, 225, 113);
/* oklch */ color: oklch(80.4% 0.202 148.9);
Tailwind
colors: {
  custom: {
    50: '#8bec9c',
    500: '#42e171',
    950: '#000000',
  },
}
SCSS
$custom: #42e171;
$custom-light: #8bec9c;
$custom-dark: #000000;
JSON
{
  "hex": "#42e171",
  "rgb": {
    "r": 66,
    "g": 225,
    "b": 113
  },
  "hsl": {
    "h": 137.736,
    "s": 72.603,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80363,
    "c": 0.2018,
    "h": 148.9
  },
  "luminance": 0.56201
}

Semantic roles & 50–950 ramp

primary
#42E171
secondary
#963178
accent
#38B9EF
background
#FCFFFC
surface
#F4FEF5
border
#CED6CF
text
#0D160E
muted
#7F857F

Preview Lab

Preview with #42E171

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

Preview Lab → · Contrast checker → · Palette generator →

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