#42E248#42E248

#42E248 is a light, highly saturated green. Relative luminance 0.560; OKLCH L 80.1% C 0.234 H 143.5°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#42E248
RGBrgb(66, 226, 72)
HSLhsl(122, 73%, 57%)
HSVhsv(122, 71%, 89%)
CMYKcmyk(70.8%, 0%, 68.1%, 11.4%)
CIE-LABlab(79.62, -69.44, 60.82)
CIE-LCHlch(79.62, 92.31, 138.78°)
OKLaboklab(80.14% -0.1882 0.1395)
OKLCHoklch(80.14% 0.234 143.5)
XYZxyz(30.6109, 56.0154, 15.3285)
Luminance0.5602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42E248 #E242DC
analogous
#8CE242 #42E248 #42E298
triadic
#42E248 #4842E2 #E24842
tetradic
#42E248 #428CE2 #E242DC #E29842
square
#42E248 #428CE2 #E242DC #E29842
split-complementary
#42E248 #9842E2 #E2428C
monochromatic
#17931B #1FC825 #42E248 #77EA7B #ACF2AF

Accessibility & contrast

On white

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

On black

12.20
#42E248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42E248
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42E248#FFFFFF#000000##000000
##42E2481.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD32
Deuteranopia (green-blind)
#D4C057
Tritanopia (blue-blind)
#00DCC3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #42e248;
/* rgb */ color: rgb(66, 226, 72);
/* oklch */ color: oklch(80.1% 0.234 143.5);
Tailwind
colors: {
  custom: {
    50: '#8dec82',
    500: '#42e248',
    950: '#000000',
  },
}
SCSS
$custom: #42e248;
$custom-light: #8dec82;
$custom-dark: #000000;
JSON
{
  "hex": "#42e248",
  "rgb": {
    "r": 66,
    "g": 226,
    "b": 72
  },
  "hsl": {
    "h": 122.25,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80144,
    "c": 0.23428,
    "h": 143.5
  },
  "luminance": 0.56019
}

Semantic roles & 50–950 ramp

primary
#42E248
secondary
#983194
accent
#38E9F0
background
#FCFFFB
surface
#F5FEF2
border
#CFD6CC
text
#0E160B
muted
#7F857E

Preview Lab

Preview with #42E248

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

Preview Lab → · Contrast checker → · Palette generator →

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