#42C955#42C955

#42C955 is a light, vivid green. Relative luminance 0.436; OKLCH L 73.8% C 0.196 H 145.5°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#42C955
RGBrgb(66, 201, 85)
HSLhsl(128, 56%, 52%)
HSVhsv(128, 67%, 79%)
CMYKcmyk(67.2%, 0%, 57.7%, 21.2%)
CIE-LABlab(71.95, -59.72, 46.76)
CIE-LCHlch(71.95, 75.85, 141.94°)
OKLaboklab(73.83% -0.1613 0.1108)
OKLCHoklch(73.83% 0.196 145.5)
XYZxyz(24.7714, 43.5848, 15.6998)
Luminance0.4359 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C955 #C942B6
analogous
#73C942 #42C955 #42C998
triadic
#42C955 #5542C9 #C95542
tetradic
#42C955 #4273C9 #C942B6 #C99842
square
#42C955 #4273C9 #C942B6 #C99842
split-complementary
#42C955 #9842C9 #C94273
monochromatic
#20702B #2EA03E #42C955 #72D780 #A1E4AB

Accessibility & contrast

On white

2.16
#42C955 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#42C955 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C955
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C955#FFFFFF#000000##000000
##42C9551.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB749
Deuteranopia (green-blind)
#BCAC5E
Tritanopia (blue-blind)
#15C4B0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #42c955;
/* rgb */ color: rgb(66, 201, 85);
/* oklch */ color: oklch(73.8% 0.196 145.5);
Tailwind
colors: {
  custom: {
    50: '#87db88',
    500: '#42c955',
    950: '#000000',
  },
}
SCSS
$custom: #42c955;
$custom-light: #87db88;
$custom-dark: #000000;
JSON
{
  "hex": "#42c955",
  "rgb": {
    "r": 66,
    "g": 201,
    "b": 85
  },
  "hsl": {
    "h": 128.444,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.73826,
    "c": 0.19571,
    "h": 145.5
  },
  "luminance": 0.43587
}

Semantic roles & 50–950 ramp

primary
#42C955
secondary
#D196C9
accent
#49CADF
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150C
muted
#7D837D

Preview Lab

Preview with #42C955

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

Preview Lab → · Contrast checker → · Palette generator →

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