#42B877#42B877

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

Color values

HEX#42B877
RGBrgb(66, 184, 119)
HSLhsl(147, 47%, 49%)
HSVhsv(147, 64%, 72%)
CMYKcmyk(64.1%, 0%, 35.3%, 27.8%)
CIE-LABlab(67.10, -47.92, 23.57)
CIE-LCHlch(67.10, 53.40, 153.81°)
OKLaboklab(69.99% -0.1299 0.0592)
OKLCHoklch(69.99% 0.143 155.5)
XYZxyz(22.7150, 36.7688, 23.3492)
Luminance0.3677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B877 #B84283
analogous
#48B842 #42B877 #42B8B2
triadic
#42B877 #7742B8 #B87742
tetradic
#42B877 #4248B8 #B84283 #B8B242
square
#42B877 #4248B8 #B84283 #B8B242
split-complementary
#42B877 #B242B8 #B84248
monochromatic
#225E3D #328B5A #42B877 #6DCB97 #9ADBB7

Accessibility & contrast

On white

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

On black

8.35
#42B877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B877
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B877#FFFFFF#000000##000000
##42B8771.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7AA73
Deuteranopia (green-blind)
#A89F7B
Tritanopia (blue-blind)
#00B6A7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #42b877;
/* rgb */ color: rgb(66, 184, 119);
/* oklch */ color: oklch(70.0% 0.143 155.5);
Tailwind
colors: {
  custom: {
    50: '#83ce9e',
    500: '#42b877',
    950: '#000000',
  },
}
SCSS
$custom: #42b877;
$custom-light: #83ce9e;
$custom-dark: #000000;
JSON
{
  "hex": "#42b877",
  "rgb": {
    "r": 66,
    "g": 184,
    "b": 119
  },
  "hsl": {
    "h": 146.949,
    "s": 47.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.69988,
    "c": 0.14279,
    "h": 155.5
  },
  "luminance": 0.36771
}

Semantic roles & 50–950 ramp

primary
#42B877
secondary
#C78FAE
accent
#519BD7
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140E
muted
#7D827E

Preview Lab

Preview with #42B877

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

Preview Lab → · Contrast checker → · Palette generator →

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