#2A7976#2A7976

#2A7976 is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.8% C 0.076 H 191.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2A7976
RGBrgb(42, 121, 118)
HSLhsl(178, 48%, 32%)
HSVhsv(178, 65%, 47%)
CMYKcmyk(65.3%, 0%, 2.5%, 52.5%)
CIE-LABlab(46.28, -24.32, -5.44)
CIE-LCHlch(46.28, 24.92, 192.60°)
OKLaboklab(52.78% -0.0741 -0.0151)
OKLCHoklch(52.78% 0.076 191.6)
XYZxyz(11.0608, 15.4738, 19.5398)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7976 #792A2D
analogous
#2A794F #2A7976 #2A5479
triadic
#2A7976 #762A79 #79762A
tetradic
#2A7976 #4F2A79 #792A2D #54792A
square
#2A7976 #4F2A79 #792A2D #54792A
split-complementary
#2A7976 #792A54 #794F2A
monochromatic
#0A1E1D #1A4C4A #2A7976 #3AA6A2 #58C5C1

Accessibility & contrast

On white

5.13
#2A7976 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2A7976 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7976
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7976#FFFFFF#000000##FFFFFF
##2A79761.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727376
Deuteranopia (green-blind)
#666A77
Tritanopia (blue-blind)
#007C78
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7976;
/* rgb */ color: rgb(42, 121, 118);
/* oklch */ color: oklch(52.8% 0.076 191.6);
Tailwind
colors: {
  custom: {
    50: '#6fa09d',
    500: '#2a7976',
    950: '#000000',
  },
}
SCSS
$custom: #2a7976;
$custom-light: #6fa09d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7976",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 118
  },
  "hsl": {
    "h": 177.722,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52781,
    "c": 0.07565,
    "h": 191.6
  },
  "luminance": 0.15475
}

Semantic roles & 50–950 ramp

primary
#2A7976
secondary
#AB5457
accent
#5055D8
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2A7976

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

Preview Lab → · Contrast checker → · Palette generator →

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