#42B879#42B879

#42B879 is a light, vivid green. Relative luminance 0.368; OKLCH L 70.0% C 0.141 H 156.2°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#42B879
RGBrgb(66, 184, 121)
HSLhsl(148, 47%, 49%)
HSVhsv(148, 64%, 72%)
CMYKcmyk(64.1%, 0%, 34.2%, 27.8%)
CIE-LABlab(67.14, -47.52, 22.55)
CIE-LCHlch(67.14, 52.60, 154.61°)
OKLaboklab(70.03% -0.129 0.0568)
OKLCHoklch(70.03% 0.141 156.2)
XYZxyz(22.8364, 36.8173, 23.9884)
Luminance0.3682 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B879 #B84281
analogous
#46B842 #42B879 #42B8B4
triadic
#42B879 #7942B8 #B87942
tetradic
#42B879 #4246B8 #B84281 #B8B442
square
#42B879 #4246B8 #B84281 #B8B442
split-complementary
#42B879 #B442B8 #B84246
monochromatic
#225E3E #328B5B #42B879 #6DCB98 #9ADBB8

Accessibility & contrast

On white

2.51
#42B879 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#42B879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B879
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B879#FFFFFF#000000##000000
##42B8791.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7AA75
Deuteranopia (green-blind)
#A79F7D
Tritanopia (blue-blind)
#00B6A8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #42b879;
/* rgb */ color: rgb(66, 184, 121);
/* oklch */ color: oklch(70.0% 0.141 156.2);
Tailwind
colors: {
  custom: {
    50: '#83cea0',
    500: '#42b879',
    950: '#000000',
  },
}
SCSS
$custom: #42b879;
$custom-light: #83cea0;
$custom-dark: #000000;
JSON
{
  "hex": "#42b879",
  "rgb": {
    "r": 66,
    "g": 184,
    "b": 121
  },
  "hsl": {
    "h": 147.966,
    "s": 47.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7003,
    "c": 0.14095,
    "h": 156.2
  },
  "luminance": 0.3682
}

Semantic roles & 50–950 ramp

primary
#42B879
secondary
#C78FAD
accent
#5198D7
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140E
muted
#7D827E

Preview Lab

Preview with #42B879

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

Preview Lab → · Contrast checker → · Palette generator →

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