#42AB7D#42AB7D

#42AB7D is a light, moderate teal. Relative luminance 0.318; OKLCH L 66.8% C 0.119 H 161.5°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#42AB7D
RGBrgb(66, 171, 125)
HSLhsl(154, 44%, 46%)
HSVhsv(154, 61%, 67%)
CMYKcmyk(61.4%, 0%, 26.9%, 32.9%)
CIE-LABlab(63.15, -41.25, 14.90)
CIE-LCHlch(63.15, 43.86, 160.14°)
OKLaboklab(66.78% -0.1132 0.038)
OKLCHoklch(66.78% 0.119 161.5)
XYZxyz(20.5094, 31.7627, 24.4480)
Luminance0.3176 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AB7D #AB4270
analogous
#42AB48 #42AB7D #42A5AB
triadic
#42AB7D #7D42AB #AB7D42
tetradic
#42AB7D #4842AB #AB4270 #A5AB42
square
#42AB7D #4842AB #AB4270 #A5AB42
split-complementary
#42AB7D #AB42A5 #AB4842
monochromatic
#20533C #317F5D #42AB7D #66C49B #92D5B8

Accessibility & contrast

On white

2.86
#42AB7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#42AB7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AB7D
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AB7D#FFFFFF#000000##000000
##42AB7D1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99F7A
Deuteranopia (green-blind)
#9A9580
Tritanopia (blue-blind)
#02AB9E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #42ab7d;
/* rgb */ color: rgb(66, 171, 125);
/* oklch */ color: oklch(66.8% 0.119 161.5);
Tailwind
colors: {
  custom: {
    50: '#81c5a2',
    500: '#42ab7d',
    950: '#000000',
  },
}
SCSS
$custom: #42ab7d;
$custom-light: #81c5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#42ab7d",
  "rgb": {
    "r": 66,
    "g": 171,
    "b": 125
  },
  "hsl": {
    "h": 153.714,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.66783,
    "c": 0.11942,
    "h": 161.5
  },
  "luminance": 0.31765
}

Semantic roles & 50–950 ramp

primary
#42AB7D
secondary
#C088A1
accent
#548CD4
background
#F8FCFA
surface
#EFF8F3
border
#CAD1CD
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #42AB7D

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

Preview Lab → · Contrast checker → · Palette generator →

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