#42B178#42B178

#42B178 is a light, vivid green. Relative luminance 0.340; OKLCH L 68.2% C 0.132 H 157.4°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#42B178
RGBrgb(66, 177, 120)
HSLhsl(149, 46%, 48%)
HSVhsv(149, 63%, 69%)
CMYKcmyk(62.7%, 0%, 32.2%, 30.6%)
CIE-LABlab(64.93, -44.85, 20.09)
CIE-LCHlch(64.93, 49.14, 155.88°)
OKLaboklab(68.21% -0.1221 0.0508)
OKLCHoklch(68.21% 0.132 157.4)
XYZxyz(21.3572, 33.9564, 23.1944)
Luminance0.3396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B178 #B1427B
analogous
#44B142 #42B178 #42B1AF
triadic
#42B178 #7842B1 #B17842
tetradic
#42B178 #4244B1 #B1427B #B1AF42
square
#42B178 #4244B1 #B1427B #B1AF42
split-complementary
#42B178 #AF42B1 #B14244
monochromatic
#21583C #31845A #42B178 #69C797 #96D8B6

Accessibility & contrast

On white

2.70
#42B178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#42B178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B178
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B178#FFFFFF#000000##000000
##42B1781.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A474
Deuteranopia (green-blind)
#A1997C
Tritanopia (blue-blind)
#04B0A2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #42b178;
/* rgb */ color: rgb(66, 177, 120);
/* oklch */ color: oklch(68.2% 0.132 157.4);
Tailwind
colors: {
  custom: {
    50: '#82c99f',
    500: '#42b178',
    950: '#000000',
  },
}
SCSS
$custom: #42b178;
$custom-light: #82c99f;
$custom-dark: #000000;
JSON
{
  "hex": "#42b178",
  "rgb": {
    "r": 66,
    "g": 177,
    "b": 120
  },
  "hsl": {
    "h": 149.189,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.68209,
    "c": 0.13221,
    "h": 157.4
  },
  "luminance": 0.33959
}

Semantic roles & 50–950 ramp

primary
#42B178
secondary
#C38BA8
accent
#5296D5
background
#F8FCF9
surface
#F0F8F2
border
#CBD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #42B178

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

Preview Lab → · Contrast checker → · Palette generator →

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