#2A7166#2A7166

#2A7166 is a mid, moderate teal. Relative luminance 0.133; OKLCH L 50.1% C 0.073 H 181.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#2A7166
RGBrgb(42, 113, 102)
HSLhsl(171, 46%, 30%)
HSVhsv(171, 63%, 44%)
CMYKcmyk(62.8%, 0%, 9.7%, 55.7%)
CIE-LABlab(43.15, -24.93, -0.47)
CIE-LCHlch(43.15, 24.93, 181.08°)
OKLaboklab(50.09% -0.0727 -0.0017)
OKLCHoklch(50.09% 0.073 181.3)
XYZxyz(9.2572, 13.2609, 14.6395)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7166 #712A35
analogous
#2A7142 #2A7166 #2A5871
triadic
#2A7166 #662A71 #71662A
tetradic
#2A7166 #422A71 #712A35 #58712A
square
#2A7166 #422A71 #712A35 #58712A
split-complementary
#2A7166 #712A58 #71422A
monochromatic
#091815 #19443E #2A7166 #3B9E8E #55C0AF

Accessibility & contrast

On white

5.75
#2A7166 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#2A7166 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7166
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7166#FFFFFF#000000##FFFFFF
##2A71661.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6B66
Deuteranopia (green-blind)
#616367
Tritanopia (blue-blind)
#00736E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2a7166;
/* rgb */ color: rgb(42, 113, 102);
/* oklch */ color: oklch(50.1% 0.073 181.3);
Tailwind
colors: {
  custom: {
    50: '#6c9a91',
    500: '#2a7166',
    950: '#000000',
  },
}
SCSS
$custom: #2a7166;
$custom-light: #6c9a91;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7166",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 102
  },
  "hsl": {
    "h": 170.704,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50085,
    "c": 0.07268,
    "h": 181.3
  },
  "luminance": 0.13262
}

Semantic roles & 50–950 ramp

primary
#2A7166
secondary
#A35460
accent
#5267D5
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #2A7166

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

Preview Lab → · Contrast checker → · Palette generator →

#2A7166 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva