#42C77B#42C77B

#42C77B is a light, vivid green. Relative luminance 0.434; OKLCH L 73.9% C 0.159 H 154.2°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#42C77B
RGBrgb(66, 199, 123)
HSLhsl(146, 54%, 52%)
HSVhsv(146, 67%, 78%)
CMYKcmyk(66.8%, 0%, 38.2%, 22%)
CIE-LABlab(71.85, -53.07, 27.80)
CIE-LCHlch(71.85, 59.91, 152.35°)
OKLaboklab(73.91% -0.1435 0.0694)
OKLCHoklch(73.91% 0.159 154.2)
XYZxyz(26.2430, 43.4323, 25.7353)
Luminance0.4344 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C77B #C7428E
analogous
#4CC742 #42C77B #42C7BD
triadic
#42C77B #7B42C7 #C77B42
tetradic
#42C77B #424CC7 #C7428E #C7BD42
square
#42C77B #424CC7 #C7428E #C7BD42
split-complementary
#42C77B #BD42C7 #C7424C
monochromatic
#216E42 #2F9D5E #42C77B #71D59C #A0E3BD

Accessibility & contrast

On white

2.17
#42C77B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#42C77B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C77B
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C77B#FFFFFF#000000##000000
##42C77B1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B776
Deuteranopia (green-blind)
#B6AB80
Tritanopia (blue-blind)
#00C5B4
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #42c77b;
/* rgb */ color: rgb(66, 199, 123);
/* oklch */ color: oklch(73.9% 0.159 154.2);
Tailwind
colors: {
  custom: {
    50: '#86d9a2',
    500: '#42c77b',
    950: '#000000',
  },
}
SCSS
$custom: #42c77b;
$custom-light: #86d9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#42c77b",
  "rgb": {
    "r": 66,
    "g": 199,
    "b": 123
  },
  "hsl": {
    "h": 145.714,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73912,
    "c": 0.15938,
    "h": 154.2
  },
  "luminance": 0.43435
}

Semantic roles & 50–950 ramp

primary
#42C77B
secondary
#D095B7
accent
#4A9EDE
background
#F8FDFA
surface
#F0FBF3
border
#CBD4CD
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #42C77B

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

Preview Lab → · Contrast checker → · Palette generator →

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