#42C479#42C479

#42C479 is a light, vivid green. Relative luminance 0.420; OKLCH L 73.1% C 0.157 H 154.0°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#42C479
RGBrgb(66, 196, 121)
HSLhsl(145, 52%, 51%)
HSVhsv(145, 66%, 77%)
CMYKcmyk(66.3%, 0%, 38.3%, 23.1%)
CIE-LABlab(70.88, -52.28, 27.57)
CIE-LCHlch(70.88, 59.10, 152.20°)
OKLaboklab(73.11% -0.1413 0.0688)
OKLCHoklch(73.11% 0.157 154)
XYZxyz(25.4357, 42.0159, 24.8548)
Luminance0.4202 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C479 #C4428D
analogous
#4CC442 #42C479 #42C4BA
triadic
#42C479 #7942C4 #C47942
tetradic
#42C479 #424CC4 #C4428D #C4BA42
square
#42C479 #424CC4 #C4428D #C4BA42
split-complementary
#42C479 #BA42C4 #C4424C
monochromatic
#216A40 #30995C #42C479 #71D39A #9FE1BB

Accessibility & contrast

On white

2.23
#42C479 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#42C479 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C479
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C479#FFFFFF#000000##000000
##42C4791.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B574
Deuteranopia (green-blind)
#B3A97E
Tritanopia (blue-blind)
#00C2B1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #42c479;
/* rgb */ color: rgb(66, 196, 121);
/* oklch */ color: oklch(73.1% 0.157 154.0);
Tailwind
colors: {
  custom: {
    50: '#85d7a0',
    500: '#42c479',
    950: '#000000',
  },
}
SCSS
$custom: #42c479;
$custom-light: #85d7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#42c479",
  "rgb": {
    "r": 66,
    "g": 196,
    "b": 121
  },
  "hsl": {
    "h": 145.385,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73106,
    "c": 0.15721,
    "h": 154
  },
  "luminance": 0.42019
}

Semantic roles & 50–950 ramp

primary
#42C479
secondary
#CE94B5
accent
#4C9FDC
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140F
muted
#7D837E

Preview Lab

Preview with #42C479

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

Preview Lab → · Contrast checker → · Palette generator →

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