#42E57B#42E57B

#42E57B is a light, vivid green. Relative luminance 0.586; OKLCH L 81.5% C 0.198 H 150.6°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#42E57B
RGBrgb(66, 229, 123)
HSLhsl(141, 76%, 58%)
HSVhsv(141, 71%, 90%)
CMYKcmyk(71.2%, 0%, 46.3%, 10.2%)
CIE-LABlab(81.08, -64.09, 39.80)
CIE-LCHlch(81.08, 75.44, 148.16°)
OKLaboklab(81.53% -0.1725 0.0974)
OKLCHoklch(81.53% 0.198 150.6)
XYZxyz(33.8384, 58.6231, 28.2671)
Luminance0.5863 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42E57B #E542AC
analogous
#5AE542 #42E57B #42E5CD
triadic
#42E57B #7B42E5 #E57B42
tetradic
#42E57B #425AE5 #E542AC #E5CD42
square
#42E57B #425AE5 #E542AC #E5CD42
split-complementary
#42E57B #CD42E5 #E5425A
monochromatic
#159843 #1CCE5A #42E57B #78ECA1 #AEF4C6

Accessibility & contrast

On white

1.65
#42E57B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#42E57B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42E57B
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42E57B#FFFFFF#000000##000000
##42E57B1.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D273
Deuteranopia (green-blind)
#D3C482
Tritanopia (blue-blind)
#00E1CC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #42e57b;
/* rgb */ color: rgb(66, 229, 123);
/* oklch */ color: oklch(81.5% 0.198 150.6);
Tailwind
colors: {
  custom: {
    50: '#8beea3',
    500: '#42e57b',
    950: '#000000',
  },
}
SCSS
$custom: #42e57b;
$custom-light: #8beea3;
$custom-dark: #000000;
JSON
{
  "hex": "#42e57b",
  "rgb": {
    "r": 66,
    "g": 229,
    "b": 123
  },
  "hsl": {
    "h": 140.982,
    "s": 75.814,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81529,
    "c": 0.19806,
    "h": 150.6
  },
  "luminance": 0.58627
}

Semantic roles & 50–950 ramp

primary
#42E57B
secondary
#9C3076
accent
#35B0F2
background
#FCFFFC
surface
#F5FEF5
border
#CFD6CF
text
#0E170F
muted
#7F8580

Preview Lab

Preview with #42E57B

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

Preview Lab → · Contrast checker → · Palette generator →

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