#42C778#42C778

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

Color values

HEX#42C778
RGBrgb(66, 199, 120)
HSLhsl(144, 54%, 52%)
HSVhsv(144, 67%, 78%)
CMYKcmyk(66.8%, 0%, 39.7%, 22%)
CIE-LABlab(71.80, -53.62, 29.30)
CIE-LCHlch(71.80, 61.10, 151.35°)
OKLaboklab(73.85% -0.1448 0.0729)
OKLCHoklch(73.85% 0.162 153.3)
XYZxyz(26.0581, 43.3584, 24.7614)
Luminance0.4336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C778 #C74291
analogous
#4FC742 #42C778 #42C7BB
triadic
#42C778 #7842C7 #C77842
tetradic
#42C778 #424FC7 #C74291 #C7BB42
square
#42C778 #424FC7 #C74291 #C7BB42
split-complementary
#42C778 #BB42C7 #C7424F
monochromatic
#216E40 #2F9D5C #42C778 #71D59A #A0E3BB

Accessibility & contrast

On white

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

On black

9.67
#42C778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C778
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C778#FFFFFF#000000##000000
##42C7781.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B773
Deuteranopia (green-blind)
#B6AB7D
Tritanopia (blue-blind)
#00C4B3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #42c778;
/* rgb */ color: rgb(66, 199, 120);
/* oklch */ color: oklch(73.9% 0.162 153.3);
Tailwind
colors: {
  custom: {
    50: '#86d99f',
    500: '#42c778',
    950: '#000000',
  },
}
SCSS
$custom: #42c778;
$custom-light: #86d99f;
$custom-dark: #000000;
JSON
{
  "hex": "#42c778",
  "rgb": {
    "r": 66,
    "g": 199,
    "b": 120
  },
  "hsl": {
    "h": 144.361,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73854,
    "c": 0.16214,
    "h": 153.3
  },
  "luminance": 0.43361
}

Semantic roles & 50–950 ramp

primary
#42C778
secondary
#D095B8
accent
#4AA2DE
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #42C778

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

Preview Lab → · Contrast checker → · Palette generator →

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