#2A7F79#2A7F79

#2A7F79 is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.5% C 0.080 H 188.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2A7F79
RGBrgb(42, 127, 121)
HSLhsl(176, 50%, 33%)
HSVhsv(176, 67%, 50%)
CMYKcmyk(66.9%, 0%, 4.7%, 50.2%)
CIE-LABlab(48.32, -26.47, -4.18)
CIE-LCHlch(48.32, 26.79, 188.98°)
OKLaboklab(54.47% -0.0794 -0.0117)
OKLCHoklch(54.47% 0.08 188.4)
XYZxyz(11.9938, 17.0501, 20.7444)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7F79 #7F2A30
analogous
#2A7F4E #2A7F79 #2A5A7F
triadic
#2A7F79 #792A7F #7F792A
tetradic
#2A7F79 #4E2A7F #7F2A30 #5A7F2A
square
#2A7F79 #4E2A7F #7F2A30 #5A7F2A
split-complementary
#2A7F79 #7F2A5A #7F4E2A
monochromatic
#0C2321 #1B514D #2A7F79 #39ADA5 #5BC9C1

Accessibility & contrast

On white

4.76
#2A7F79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#2A7F79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7F79
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7F79#FFFFFF#000000##FFFFFF
##2A7F791.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787879
Deuteranopia (green-blind)
#6B6F7A
Tritanopia (blue-blind)
#00827D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a7f79;
/* rgb */ color: rgb(42, 127, 121);
/* oklch */ color: oklch(54.5% 0.080 188.4);
Tailwind
colors: {
  custom: {
    50: '#70a49f',
    500: '#2a7f79',
    950: '#000000',
  },
}
SCSS
$custom: #2a7f79;
$custom-light: #70a49f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7f79",
  "rgb": {
    "r": 42,
    "g": 127,
    "b": 121
  },
  "hsl": {
    "h": 175.765,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54473,
    "c": 0.08029,
    "h": 188.4
  },
  "luminance": 0.17051
}

Semantic roles & 50–950 ramp

primary
#2A7F79
secondary
#AE575D
accent
#4E58DA
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2A7F79

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

Preview Lab → · Contrast checker → · Palette generator →

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