#42C679#42C679

#42C679 is a light, vivid green. Relative luminance 0.429; OKLCH L 73.6% C 0.160 H 153.7°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#42C679
RGBrgb(66, 198, 121)
HSLhsl(145, 54%, 52%)
HSVhsv(145, 67%, 78%)
CMYKcmyk(66.7%, 0%, 38.9%, 22.4%)
CIE-LABlab(71.50, -53.05, 28.39)
CIE-LCHlch(71.50, 60.17, 151.85°)
OKLaboklab(73.62% -0.1434 0.0708)
OKLCHoklch(73.62% 0.16 153.7)
XYZxyz(25.8898, 42.9241, 25.0062)
Luminance0.4293 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C679 #C6428F
analogous
#4DC642 #42C679 #42C6BB
triadic
#42C679 #7942C6 #C67942
tetradic
#42C679 #424DC6 #C6428F #C6BB42
square
#42C679 #424DC6 #C6428F #C6BB42
split-complementary
#42C679 #BB42C6 #C6424D
monochromatic
#216D40 #2F9C5C #42C679 #71D49A #A0E2BC

Accessibility & contrast

On white

2.19
#42C679 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#42C679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C679
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C679#FFFFFF#000000##000000
##42C6791.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B674
Deuteranopia (green-blind)
#B5AA7E
Tritanopia (blue-blind)
#00C4B3
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #42c679;
/* rgb */ color: rgb(66, 198, 121);
/* oklch */ color: oklch(73.6% 0.160 153.7);
Tailwind
colors: {
  custom: {
    50: '#85d8a0',
    500: '#42c679',
    950: '#000000',
  },
}
SCSS
$custom: #42c679;
$custom-light: #85d8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#42c679",
  "rgb": {
    "r": 66,
    "g": 198,
    "b": 121
  },
  "hsl": {
    "h": 145,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73617,
    "c": 0.15988,
    "h": 153.7
  },
  "luminance": 0.42927
}

Semantic roles & 50–950 ramp

primary
#42C679
secondary
#CF95B7
accent
#4BA0DD
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150F
muted
#7D837E

Preview Lab

Preview with #42C679

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

Preview Lab → · Contrast checker → · Palette generator →

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