#42C987#42C987

#42C987 is a light, vivid teal. Relative luminance 0.447; OKLCH L 74.7% C 0.151 H 157.8°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#42C987
RGBrgb(66, 201, 135)
HSLhsl(151, 56%, 52%)
HSVhsv(151, 67%, 79%)
CMYKcmyk(67.2%, 0%, 32.8%, 21.2%)
CIE-LABlab(72.68, -51.52, 22.62)
CIE-LCHlch(72.68, 56.27, 156.30°)
OKLaboklab(74.67% -0.14 0.0571)
OKLCHoklch(74.67% 0.151 157.8)
XYZxyz(27.5040, 44.6778, 30.0912)
Luminance0.4468 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C987 #C94284
analogous
#42C944 #42C987 #42C7C9
triadic
#42C987 #8742C9 #C98742
tetradic
#42C987 #4442C9 #C94284 #C7C942
square
#42C987 #4442C9 #C94284 #C7C942
split-complementary
#42C987 #C942C7 #C94442
monochromatic
#207049 #2EA068 #42C987 #72D7A5 #A1E4C3

Accessibility & contrast

On white

2.11
#42C987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#42C987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C987
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C987#FFFFFF#000000##000000
##42C9871.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7BA83
Deuteranopia (green-blind)
#B6AD8B
Tritanopia (blue-blind)
#00C8B8
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #42c987;
/* rgb */ color: rgb(66, 201, 135);
/* oklch */ color: oklch(74.7% 0.151 157.8);
Tailwind
colors: {
  custom: {
    50: '#86daaa',
    500: '#42c987',
    950: '#000000',
  },
}
SCSS
$custom: #42c987;
$custom-light: #86daaa;
$custom-dark: #000000;
JSON
{
  "hex": "#42c987",
  "rgb": {
    "r": 66,
    "g": 201,
    "b": 135
  },
  "hsl": {
    "h": 150.667,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74666,
    "c": 0.15118,
    "h": 157.8
  },
  "luminance": 0.44681
}

Semantic roles & 50–950 ramp

primary
#42C987
secondary
#D196B3
accent
#4992DF
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C1510
muted
#7D837F

Preview Lab

Preview with #42C987

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

Preview Lab → · Contrast checker → · Palette generator →

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