#42E252#42E252

#42E252 is a light, highly saturated green. Relative luminance 0.562; OKLCH L 80.2% C 0.228 H 144.5°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#42E252
RGBrgb(66, 226, 82)
HSLhsl(126, 73%, 57%)
HSVhsv(126, 71%, 89%)
CMYKcmyk(70.8%, 0%, 63.7%, 11.4%)
CIE-LABlab(79.70, -68.47, 56.91)
CIE-LCHlch(79.70, 89.04, 140.27°)
OKLaboklab(80.24% -0.1852 0.1323)
OKLCHoklch(80.24% 0.228 144.5)
XYZxyz(30.9641, 56.1567, 17.1885)
Luminance0.5616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42E252 #E242D2
analogous
#82E242 #42E252 #42E2A2
triadic
#42E252 #5242E2 #E25242
tetradic
#42E252 #4282E2 #E242D2 #E2A242
square
#42E252 #4282E2 #E242D2 #E2A242
split-complementary
#42E252 #A242E2 #E24282
monochromatic
#179323 #1FC830 #42E252 #77EA83 #ACF2B3

Accessibility & contrast

On white

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

On black

12.23
#42E252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42E252
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42E252#FFFFFF#000000##000000
##42E2521.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD40
Deuteranopia (green-blind)
#D4C15F
Tritanopia (blue-blind)
#00DCC4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #42e252;
/* rgb */ color: rgb(66, 226, 82);
/* oklch */ color: oklch(80.2% 0.228 144.5);
Tailwind
colors: {
  custom: {
    50: '#8cec88',
    500: '#42e252',
    950: '#000000',
  },
}
SCSS
$custom: #42e252;
$custom-light: #8cec88;
$custom-dark: #000000;
JSON
{
  "hex": "#42e252",
  "rgb": {
    "r": 66,
    "g": 226,
    "b": 82
  },
  "hsl": {
    "h": 126,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80237,
    "c": 0.22757,
    "h": 144.5
  },
  "luminance": 0.5616
}

Semantic roles & 50–950 ramp

primary
#42E252
secondary
#98318D
accent
#38DEF0
background
#FCFFFC
surface
#F5FEF4
border
#CFD6CE
text
#0E160C
muted
#7F857F

Preview Lab

Preview with #42E252

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

Preview Lab → · Contrast checker → · Palette generator →

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