#42E258#42E258

#42E258 is a light, highly saturated green. Relative luminance 0.563; OKLCH L 80.3% C 0.223 H 145.1°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#42E258
RGBrgb(66, 226, 88)
HSLhsl(128, 73%, 57%)
HSVhsv(128, 71%, 89%)
CMYKcmyk(70.8%, 0%, 61.1%, 11.4%)
CIE-LABlab(79.76, -67.82, 54.44)
CIE-LCHlch(79.76, 86.97, 141.25°)
OKLaboklab(80.3% -0.1832 0.1276)
OKLCHoklch(80.3% 0.223 145.1)
XYZxyz(31.2025, 56.2521, 18.4439)
Luminance0.5626 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42E258 #E242CC
analogous
#7CE242 #42E258 #42E2A8
triadic
#42E258 #5842E2 #E25842
tetradic
#42E258 #427CE2 #E242CC #E2A842
square
#42E258 #427CE2 #E242CC #E2A842
split-complementary
#42E258 #A842E2 #E2427C
monochromatic
#179328 #1FC836 #42E258 #77EA87 #ACF2B6

Accessibility & contrast

On white

1.71
#42E258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#42E258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42E258
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42E258#FFFFFF#000000##000000
##42E2581.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE49
Deuteranopia (green-blind)
#D3C164
Tritanopia (blue-blind)
#00DCC5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #42e258;
/* rgb */ color: rgb(66, 226, 88);
/* oklch */ color: oklch(80.3% 0.223 145.1);
Tailwind
colors: {
  custom: {
    50: '#8cec8c',
    500: '#42e258',
    950: '#000000',
  },
}
SCSS
$custom: #42e258;
$custom-light: #8cec8c;
$custom-dark: #000000;
JSON
{
  "hex": "#42e258",
  "rgb": {
    "r": 66,
    "g": 226,
    "b": 88
  },
  "hsl": {
    "h": 128.25,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80299,
    "c": 0.22323,
    "h": 145.1
  },
  "luminance": 0.56256
}

Semantic roles & 50–950 ramp

primary
#42E258
secondary
#983189
accent
#38D7F0
background
#FCFFFC
surface
#F5FEF4
border
#CFD6CE
text
#0E160C
muted
#7F857F

Preview Lab

Preview with #42E258

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

Preview Lab → · Contrast checker → · Palette generator →

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