#42B17C#42B17C

#42B17C is a light, vivid teal. Relative luminance 0.341; OKLCH L 68.3% C 0.129 H 159.2°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#42B17C
RGBrgb(66, 177, 124)
HSLhsl(151, 46%, 48%)
HSVhsv(151, 63%, 69%)
CMYKcmyk(62.7%, 0%, 29.9%, 30.6%)
CIE-LABlab(65.01, -44.02, 18.02)
CIE-LCHlch(65.01, 47.57, 157.74°)
OKLaboklab(68.3% -0.1202 0.0458)
OKLCHoklch(68.3% 0.129 159.2)
XYZxyz(21.6050, 34.0556, 24.4997)
Luminance0.3406 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B17C #B14277
analogous
#42B144 #42B17C #42AFB1
triadic
#42B17C #7C42B1 #B17C42
tetradic
#42B17C #4442B1 #B14277 #AFB142
square
#42B17C #4442B1 #B14277 #AFB142
split-complementary
#42B17C #B142AF #B14442
monochromatic
#21583E #31845D #42B17C #69C79A #96D8B8

Accessibility & contrast

On white

2.69
#42B17C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#42B17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B17C
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B17C#FFFFFF#000000##000000
##42B17C1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA479
Deuteranopia (green-blind)
#A0997F
Tritanopia (blue-blind)
#00B0A3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #42b17c;
/* rgb */ color: rgb(66, 177, 124);
/* oklch */ color: oklch(68.3% 0.129 159.2);
Tailwind
colors: {
  custom: {
    50: '#82c9a2',
    500: '#42b17c',
    950: '#000000',
  },
}
SCSS
$custom: #42b17c;
$custom-light: #82c9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#42b17c",
  "rgb": {
    "r": 66,
    "g": 177,
    "b": 124
  },
  "hsl": {
    "h": 151.351,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.68299,
    "c": 0.12859,
    "h": 159.2
  },
  "luminance": 0.34058
}

Semantic roles & 50–950 ramp

primary
#42B17C
secondary
#C38BA6
accent
#5291D5
background
#F8FCF9
surface
#F0F8F2
border
#CBD1CC
text
#0B130F
muted
#7C827E

Preview Lab

Preview with #42B17C

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

Preview Lab → · Contrast checker → · Palette generator →

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