#42E172#42E172

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

Color values

HEX#42E172
RGBrgb(66, 225, 114)
HSLhsl(138, 73%, 57%)
HSVhsv(138, 71%, 88%)
CMYKcmyk(70.7%, 0%, 49.3%, 11.8%)
CIE-LABlab(79.74, -64.08, 42.48)
CIE-LCHlch(79.74, 76.89, 146.46°)
OKLaboklab(80.38% -0.1725 0.1031)
OKLCHoklch(80.38% 0.201 149.1)
XYZxyz(32.2067, 56.2200, 25.0705)
Luminance0.5622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42E172 #E142B1
analogous
#62E142 #42E172 #42E1C1
triadic
#42E172 #7242E1 #E17242
tetradic
#42E172 #4262E1 #E142B1 #E1C142
square
#42E172 #4262E1 #E142B1 #E1C142
split-complementary
#42E172 #C142E1 #E14262
monochromatic
#17923C #1FC652 #42E172 #77E999 #ACF2C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42E172#FFFFFF#000000##000000
##42E1721.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)
#E3CE69
Deuteranopia (green-blind)
#D0C07A
Tritanopia (blue-blind)
#00DDC7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #42e172;
/* rgb */ color: rgb(66, 225, 114);
/* oklch */ color: oklch(80.4% 0.201 149.1);
Tailwind
colors: {
  custom: {
    50: '#8bec9c',
    500: '#42e172',
    950: '#000000',
  },
}
SCSS
$custom: #42e172;
$custom-light: #8bec9c;
$custom-dark: #000000;
JSON
{
  "hex": "#42e172",
  "rgb": {
    "r": 66,
    "g": 225,
    "b": 114
  },
  "hsl": {
    "h": 138.113,
    "s": 72.603,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80378,
    "c": 0.20094,
    "h": 149.1
  },
  "luminance": 0.56224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42E172

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

Preview Lab → · Contrast checker → · Palette generator →

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