#42E548#42E548

#42E548 is a light, highly saturated green. Relative luminance 0.577; OKLCH L 80.9% C 0.238 H 143.4°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#42E548
RGBrgb(66, 229, 72)
HSLhsl(122, 76%, 58%)
HSVhsv(122, 71%, 90%)
CMYKcmyk(71.2%, 0%, 68.6%, 10.2%)
CIE-LABlab(80.55, -70.39, 61.81)
CIE-LCHlch(80.55, 93.68, 138.72°)
OKLaboklab(80.91% -0.1908 0.1415)
OKLCHoklch(80.91% 0.238 143.4)
XYZxyz(31.4338, 57.6612, 15.6028)
Luminance0.5766 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42E548 #E542DF
analogous
#8DE542 #42E548 #42E59A
triadic
#42E548 #4842E5 #E54842
tetradic
#42E548 #428DE5 #E542DF #E59A42
square
#42E548 #428DE5 #E542DF #E59A42
split-complementary
#42E548 #9A42E5 #E5428D
monochromatic
#15981A #1CCE23 #42E548 #78EC7C #AEF4B0

Accessibility & contrast

On white

1.68
#42E548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#42E548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42E548
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42E548#FFFFFF#000000##000000
##42E5481.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD031
Deuteranopia (green-blind)
#D7C357
Tritanopia (blue-blind)
#00DFC6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #42e548;
/* rgb */ color: rgb(66, 229, 72);
/* oklch */ color: oklch(80.9% 0.238 143.4);
Tailwind
colors: {
  custom: {
    50: '#8def83',
    500: '#42e548',
    950: '#000000',
  },
}
SCSS
$custom: #42e548;
$custom-light: #8def83;
$custom-dark: #000000;
JSON
{
  "hex": "#42e548",
  "rgb": {
    "r": 66,
    "g": 229,
    "b": 72
  },
  "hsl": {
    "h": 122.209,
    "s": 75.814,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80914,
    "c": 0.23759,
    "h": 143.4
  },
  "luminance": 0.57665
}

Semantic roles & 50–950 ramp

primary
#42E548
secondary
#9C3098
accent
#35EBF2
background
#FCFFFB
surface
#F5FEF2
border
#CFD6CC
text
#0E170B
muted
#7F857E

Preview Lab

Preview with #42E548

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

Preview Lab → · Contrast checker → · Palette generator →

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