#42C797#42C797

#42C797 is a light, vivid teal. Relative luminance 0.442; OKLCH L 74.5% C 0.135 H 165.0°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#42C797
RGBrgb(66, 199, 151)
HSLhsl(158, 54%, 52%)
HSVhsv(158, 67%, 78%)
CMYKcmyk(66.8%, 0%, 24.1%, 22%)
CIE-LABlab(72.39, -47.28, 13.68)
CIE-LCHlch(72.39, 49.22, 163.86°)
OKLaboklab(74.53% -0.1305 0.035)
OKLCHoklch(74.53% 0.135 165)
XYZxyz(28.2531, 44.2364, 36.3216)
Luminance0.4424 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C797 #C74272
analogous
#42C755 #42C797 #42B5C7
triadic
#42C797 #9742C7 #C79742
tetradic
#42C797 #5542C7 #C74272 #B5C742
square
#42C797 #5542C7 #C74272 #B5C742
split-complementary
#42C797 #C742B5 #C75542
monochromatic
#216E52 #2F9D75 #42C797 #71D5B1 #A0E3CB

Accessibility & contrast

On white

2.13
#42C797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#42C797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C797
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C797#FFFFFF#000000##000000
##42C7971.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B994
Deuteranopia (green-blind)
#B1AC9A
Tritanopia (blue-blind)
#00C7BA
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #42c797;
/* rgb */ color: rgb(66, 199, 151);
/* oklch */ color: oklch(74.5% 0.135 165.0);
Tailwind
colors: {
  custom: {
    50: '#86d9b5',
    500: '#42c797',
    950: '#000000',
  },
}
SCSS
$custom: #42c797;
$custom-light: #86d9b5;
$custom-dark: #000000;
JSON
{
  "hex": "#42c797",
  "rgb": {
    "r": 66,
    "g": 199,
    "b": 151
  },
  "hsl": {
    "h": 158.346,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74531,
    "c": 0.13508,
    "h": 165
  },
  "luminance": 0.44239
}

Semantic roles & 50–950 ramp

primary
#42C797
secondary
#D095AA
accent
#4A7FDE
background
#F8FDFB
surface
#F0FAF6
border
#CBD3D0
text
#0C1511
muted
#7D8380

Preview Lab

Preview with #42C797

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

Preview Lab → · Contrast checker → · Palette generator →

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