#42E752#42E752

#42E752 is a light, highly saturated green. Relative luminance 0.589; OKLCH L 81.5% C 0.233 H 144.4°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#42E752
RGBrgb(66, 231, 82)
HSLhsl(126, 77%, 58%)
HSVhsv(126, 71%, 91%)
CMYKcmyk(71.4%, 0%, 64.5%, 9.4%)
CIE-LABlab(81.25, -70.08, 58.62)
CIE-LCHlch(81.25, 91.37, 140.09°)
OKLaboklab(81.52% -0.1895 0.1359)
OKLCHoklch(81.52% 0.233 144.4)
XYZxyz(32.3435, 58.9156, 17.6483)
Luminance0.5892 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42E752 #E742D7
analogous
#84E742 #42E752 #42E7A4
triadic
#42E752 #5242E7 #E75242
tetradic
#42E752 #4284E7 #E742D7 #E7A442
square
#42E752 #4284E7 #E742D7 #E7A442
split-complementary
#42E752 #A442E7 #E74284
monochromatic
#149B21 #1BD12C #42E752 #78EE84 #AFF5B5

Accessibility & contrast

On white

1.64
#42E752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#42E752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42E752
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42E752#FFFFFF#000000##000000
##42E7521.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD23F
Deuteranopia (green-blind)
#D8C55F
Tritanopia (blue-blind)
#00E1C8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #42e752;
/* rgb */ color: rgb(66, 231, 82);
/* oklch */ color: oklch(81.5% 0.233 144.4);
Tailwind
colors: {
  custom: {
    50: '#8df089',
    500: '#42e752',
    950: '#000000',
  },
}
SCSS
$custom: #42e752;
$custom-light: #8df089;
$custom-dark: #000000;
JSON
{
  "hex": "#42e752",
  "rgb": {
    "r": 66,
    "g": 231,
    "b": 82
  },
  "hsl": {
    "h": 125.818,
    "s": 77.465,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81515,
    "c": 0.23323,
    "h": 144.4
  },
  "luminance": 0.58919
}

Semantic roles & 50–950 ramp

primary
#42E752
secondary
#9E2F93
accent
#34E1F4
background
#FCFFFC
surface
#F5FEF4
border
#CFD6CE
text
#0E170C
muted
#7F857F

Preview Lab

Preview with #42E752

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

Preview Lab → · Contrast checker → · Palette generator →

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