#42C779#42C779

#42C779 is a light, vivid green. Relative luminance 0.434; OKLCH L 73.9% C 0.161 H 153.6°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#42C779
RGBrgb(66, 199, 121)
HSLhsl(145, 54%, 52%)
HSVhsv(145, 67%, 78%)
CMYKcmyk(66.8%, 0%, 39.2%, 22%)
CIE-LABlab(71.81, -53.44, 28.80)
CIE-LCHlch(71.81, 60.71, 151.68°)
OKLaboklab(73.87% -0.1444 0.0718)
OKLCHoklch(73.87% 0.161 153.6)
XYZxyz(26.1191, 43.3828, 25.0827)
Luminance0.4339 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C779 #C74290
analogous
#4EC742 #42C779 #42C7BC
triadic
#42C779 #7942C7 #C77942
tetradic
#42C779 #424EC7 #C74290 #C7BC42
square
#42C779 #424EC7 #C74290 #C7BC42
split-complementary
#42C779 #BC42C7 #C7424E
monochromatic
#216E41 #2F9D5C #42C779 #71D59A #A0E3BC

Accessibility & contrast

On white

2.17
#42C779 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#42C779 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C779
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C779#FFFFFF#000000##000000
##42C7791.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B774
Deuteranopia (green-blind)
#B6AB7E
Tritanopia (blue-blind)
#00C5B3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #42c779;
/* rgb */ color: rgb(66, 199, 121);
/* oklch */ color: oklch(73.9% 0.161 153.6);
Tailwind
colors: {
  custom: {
    50: '#86d9a0',
    500: '#42c779',
    950: '#000000',
  },
}
SCSS
$custom: #42c779;
$custom-light: #86d9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#42c779",
  "rgb": {
    "r": 66,
    "g": 199,
    "b": 121
  },
  "hsl": {
    "h": 144.812,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73873,
    "c": 0.16121,
    "h": 153.6
  },
  "luminance": 0.43386
}

Semantic roles & 50–950 ramp

primary
#42C779
secondary
#D095B7
accent
#4AA1DE
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150F
muted
#7D837E

Preview Lab

Preview with #42C779

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

Preview Lab → · Contrast checker → · Palette generator →

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