#42E052#42E052

#42E052 is a light, highly saturated green. Relative luminance 0.551; OKLCH L 79.7% C 0.225 H 144.5°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#42E052
RGBrgb(66, 224, 82)
HSLhsl(126, 72%, 57%)
HSVhsv(126, 71%, 88%)
CMYKcmyk(70.5%, 0%, 63.4%, 12.2%)
CIE-LABlab(79.08, -67.82, 56.23)
CIE-LCHlch(79.08, 88.10, 140.34°)
OKLaboklab(79.72% -0.1834 0.1308)
OKLCHoklch(79.72% 0.225 144.5)
XYZxyz(30.4234, 55.0754, 17.0083)
Luminance0.5508 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42E052 #E042D0
analogous
#81E042 #42E052 #42E0A1
triadic
#42E052 #5242E0 #E05242
tetradic
#42E052 #4281E0 #E042D0 #E0A142
square
#42E052 #4281E0 #E042D0 #E0A142
split-complementary
#42E052 #A142E0 #E04281
monochromatic
#189024 #20C531 #42E052 #77E982 #ABF1B2

Accessibility & contrast

On white

1.75
#42E052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#42E052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42E052
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42E052#FFFFFF#000000##000000
##42E0521.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC41
Deuteranopia (green-blind)
#D2BF5E
Tritanopia (blue-blind)
#00DAC2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #42e052;
/* rgb */ color: rgb(66, 224, 82);
/* oklch */ color: oklch(79.7% 0.225 144.5);
Tailwind
colors: {
  custom: {
    50: '#8ceb88',
    500: '#42e052',
    950: '#000000',
  },
}
SCSS
$custom: #42e052;
$custom-light: #8ceb88;
$custom-dark: #000000;
JSON
{
  "hex": "#42e052",
  "rgb": {
    "r": 66,
    "g": 224,
    "b": 82
  },
  "hsl": {
    "h": 126.076,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79724,
    "c": 0.22528,
    "h": 144.5
  },
  "luminance": 0.55079
}

Semantic roles & 50–950 ramp

primary
#42E052
secondary
#95318B
accent
#39DCEF
background
#FCFFFC
surface
#F5FEF4
border
#CFD6CE
text
#0E160C
muted
#7F857F

Preview Lab

Preview with #42E052

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

Preview Lab → · Contrast checker → · Palette generator →

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