#42ABB7#42ABB7

#42ABB7 is a light, moderate teal. Relative luminance 0.337; OKLCH L 68.6% C 0.096 H 205.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#42ABB7
RGBrgb(66, 171, 183)
HSLhsl(186, 47%, 49%)
HSVhsv(186, 64%, 72%)
CMYKcmyk(63.9%, 6.6%, 0%, 28.2%)
CIE-LABlab(64.72, -26.09, -15.08)
CIE-LCHlch(64.72, 30.13, 210.03°)
OKLaboklab(68.59% -0.0866 -0.0418)
OKLCHoklch(68.59% 0.096 205.8)
XYZxyz(25.3533, 33.7002, 49.9592)
Luminance0.3370 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42ABB7 #B74E42
analogous
#42B789 #42ABB7 #4271B7
triadic
#42ABB7 #B742AB #ABB742
tetradic
#42ABB7 #8942B7 #B74E42 #71B742
square
#42ABB7 #8942B7 #B74E42 #71B742
split-complementary
#42ABB7 #B74271 #B78942
monochromatic
#22575D #32818A #42ABB7 #6CC0CA #99D4DA

Accessibility & contrast

On white

2.71
#42ABB7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#42ABB7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42ABB7
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42ABB7#FFFFFF#000000##000000
##42ABB71.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EA4B8
Deuteranopia (green-blind)
#8C97B7
Tritanopia (blue-blind)
#00B2AE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #42abb7;
/* rgb */ color: rgb(66, 171, 183);
/* oklch */ color: oklch(68.6% 0.096 205.8);
Tailwind
colors: {
  custom: {
    50: '#84c4cc',
    500: '#42abb7',
    950: '#000000',
  },
}
SCSS
$custom: #42abb7;
$custom-light: #84c4cc;
$custom-dark: #000000;
JSON
{
  "hex": "#42abb7",
  "rgb": {
    "r": 66,
    "g": 171,
    "b": 183
  },
  "hsl": {
    "h": 186.154,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.68587,
    "c": 0.09621,
    "h": 205.8
  },
  "luminance": 0.33703
}

Semantic roles & 50–950 ramp

primary
#42ABB7
secondary
#C6948F
accent
#5F51D7
background
#F8FCFC
surface
#F0F8F8
border
#CBD1D1
text
#0C1213
muted
#7D8182

Preview Lab

Preview with #42ABB7

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

Preview Lab → · Contrast checker → · Palette generator →

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