#42C981#42C981

#42C981 is a light, vivid green. Relative luminance 0.445; OKLCH L 74.5% C 0.157 H 155.7°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#42C981
RGBrgb(66, 201, 129)
HSLhsl(148, 56%, 52%)
HSVhsv(148, 67%, 79%)
CMYKcmyk(67.2%, 0%, 35.8%, 21.2%)
CIE-LABlab(72.57, -52.71, 25.63)
CIE-LCHlch(72.57, 58.61, 154.07°)
OKLaboklab(74.54% -0.1427 0.0643)
OKLCHoklch(74.54% 0.157 155.7)
XYZxyz(27.0934, 44.5136, 27.9287)
Luminance0.4452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C981 #C9428A
analogous
#46C942 #42C981 #42C9C5
triadic
#42C981 #8142C9 #C98142
tetradic
#42C981 #4246C9 #C9428A #C9C542
square
#42C981 #4246C9 #C9428A #C9C542
split-complementary
#42C981 #C542C9 #C94246
monochromatic
#207046 #2EA063 #42C981 #72D7A1 #A1E4C0

Accessibility & contrast

On white

2.12
#42C981 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#42C981 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C981
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C981#FFFFFF#000000##000000
##42C9811.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B97C
Deuteranopia (green-blind)
#B7AD86
Tritanopia (blue-blind)
#00C7B7
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #42c981;
/* rgb */ color: rgb(66, 201, 129);
/* oklch */ color: oklch(74.5% 0.157 155.7);
Tailwind
colors: {
  custom: {
    50: '#86daa6',
    500: '#42c981',
    950: '#000000',
  },
}
SCSS
$custom: #42c981;
$custom-light: #86daa6;
$custom-dark: #000000;
JSON
{
  "hex": "#42c981",
  "rgb": {
    "r": 66,
    "g": 201,
    "b": 129
  },
  "hsl": {
    "h": 148,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.7454,
    "c": 0.15656,
    "h": 155.7
  },
  "luminance": 0.44517
}

Semantic roles & 50–950 ramp

primary
#42C981
secondary
#D196B5
accent
#4999DF
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #42C981

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

Preview Lab → · Contrast checker → · Palette generator →

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