#42C978#42C978

#42C978 is a light, vivid green. Relative luminance 0.443; OKLCH L 74.4% C 0.165 H 153.0°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#42C978
RGBrgb(66, 201, 120)
HSLhsl(144, 56%, 52%)
HSVhsv(144, 67%, 79%)
CMYKcmyk(67.2%, 0%, 40.3%, 21.2%)
CIE-LABlab(72.42, -54.38, 30.11)
CIE-LCHlch(72.42, 62.17, 151.02°)
OKLaboklab(74.37% -0.1468 0.0748)
OKLCHoklch(74.37% 0.165 153)
XYZxyz(26.5213, 44.2847, 24.9158)
Luminance0.4429 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C978 #C94293
analogous
#4FC942 #42C978 #42C9BC
triadic
#42C978 #7842C9 #C97842
tetradic
#42C978 #424FC9 #C94293 #C9BC42
square
#42C978 #424FC9 #C94293 #C9BC42
split-complementary
#42C978 #BC42C9 #C9424F
monochromatic
#207040 #2EA05B #42C978 #72D79A #A1E4BC

Accessibility & contrast

On white

2.13
#42C978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#42C978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C978
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C978#FFFFFF#000000##000000
##42C9781.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B972
Deuteranopia (green-blind)
#B8AD7D
Tritanopia (blue-blind)
#00C6B5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #42c978;
/* rgb */ color: rgb(66, 201, 120);
/* oklch */ color: oklch(74.4% 0.165 153.0);
Tailwind
colors: {
  custom: {
    50: '#86daa0',
    500: '#42c978',
    950: '#000000',
  },
}
SCSS
$custom: #42c978;
$custom-light: #86daa0;
$custom-dark: #000000;
JSON
{
  "hex": "#42c978",
  "rgb": {
    "r": 66,
    "g": 201,
    "b": 120
  },
  "hsl": {
    "h": 144,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74365,
    "c": 0.16479,
    "h": 153
  },
  "luminance": 0.44288
}

Semantic roles & 50–950 ramp

primary
#42C978
secondary
#D196B9
accent
#49A3DF
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #42C978

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

Preview Lab → · Contrast checker → · Palette generator →

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