#42C755#42C755

#42C755 is a light, vivid green. Relative luminance 0.427; OKLCH L 73.3% C 0.193 H 145.6°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#42C755
RGBrgb(66, 199, 85)
HSLhsl(129, 54%, 52%)
HSVhsv(129, 67%, 78%)
CMYKcmyk(66.8%, 0%, 57.3%, 22%)
CIE-LABlab(71.32, -59.01, 46.03)
CIE-LCHlch(71.32, 74.84, 142.05°)
OKLaboklab(73.31% -0.1594 0.1092)
OKLCHoklch(73.31% 0.193 145.6)
XYZxyz(24.3083, 42.6584, 15.5454)
Luminance0.4266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C755 #C742B4
analogous
#72C742 #42C755 #42C797
triadic
#42C755 #5542C7 #C75542
tetradic
#42C755 #4272C7 #C742B4 #C79742
square
#42C755 #4272C7 #C742B4 #C79742
split-complementary
#42C755 #9742C7 #C74272
monochromatic
#216E2C #2F9D3E #42C755 #71D57F #A0E3AA

Accessibility & contrast

On white

2.20
#42C755 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#42C755 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C755
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C755#FFFFFF#000000##000000
##42C7551.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB54A
Deuteranopia (green-blind)
#BAAA5E
Tritanopia (blue-blind)
#17C2AE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #42c755;
/* rgb */ color: rgb(66, 199, 85);
/* oklch */ color: oklch(73.3% 0.193 145.6);
Tailwind
colors: {
  custom: {
    50: '#87d988',
    500: '#42c755',
    950: '#000000',
  },
}
SCSS
$custom: #42c755;
$custom-light: #87d988;
$custom-dark: #000000;
JSON
{
  "hex": "#42c755",
  "rgb": {
    "r": 66,
    "g": 199,
    "b": 85
  },
  "hsl": {
    "h": 128.571,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73307,
    "c": 0.19324,
    "h": 145.6
  },
  "luminance": 0.42661
}

Semantic roles & 50–950 ramp

primary
#42C755
secondary
#D095C7
accent
#4AC9DE
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150C
muted
#7D837D

Preview Lab

Preview with #42C755

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

Preview Lab → · Contrast checker → · Palette generator →

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