#42C960#42C960

#42C960 is a light, vivid green. Relative luminance 0.438; OKLCH L 74.0% C 0.186 H 147.4°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#42C960
RGBrgb(66, 201, 96)
HSLhsl(133, 56%, 52%)
HSVhsv(133, 67%, 79%)
CMYKcmyk(67.2%, 0%, 52.2%, 21.2%)
CIE-LABlab(72.08, -58.25, 41.72)
CIE-LCHlch(72.08, 71.65, 144.39°)
OKLaboklab(73.97% -0.1571 0.1004)
OKLCHoklch(73.97% 0.186 147.4)
XYZxyz(25.2429, 43.7734, 18.1828)
Luminance0.4378 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C960 #C942AB
analogous
#68C942 #42C960 #42C9A3
triadic
#42C960 #6042C9 #C96042
tetradic
#42C960 #4268C9 #C942AB #C9A342
square
#42C960 #4268C9 #C942AB #C9A342
split-complementary
#42C960 #A342C9 #C94268
monochromatic
#207032 #2EA047 #42C960 #72D788 #A1E4B0

Accessibility & contrast

On white

2.15
#42C960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#42C960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C960
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C960#FFFFFF#000000##000000
##42C9601.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB857
Deuteranopia (green-blind)
#BBAC68
Tritanopia (blue-blind)
#09C5B1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #42c960;
/* rgb */ color: rgb(66, 201, 96);
/* oklch */ color: oklch(74.0% 0.186 147.4);
Tailwind
colors: {
  custom: {
    50: '#87da8f',
    500: '#42c960',
    950: '#000000',
  },
}
SCSS
$custom: #42c960;
$custom-light: #87da8f;
$custom-dark: #000000;
JSON
{
  "hex": "#42c960",
  "rgb": {
    "r": 66,
    "g": 201,
    "b": 96
  },
  "hsl": {
    "h": 133.333,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.73972,
    "c": 0.18645,
    "h": 147.4
  },
  "luminance": 0.43776
}

Semantic roles & 50–950 ramp

primary
#42C960
secondary
#D196C4
accent
#49BEDF
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150D
muted
#7D837D

Preview Lab

Preview with #42C960

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

Preview Lab → · Contrast checker → · Palette generator →

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