#2A7E79#2A7E79

#2A7E79 is a mid, moderate teal. Relative luminance 0.168; OKLCH L 54.2% C 0.079 H 189.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2A7E79
RGBrgb(42, 126, 121)
HSLhsl(176, 50%, 33%)
HSVhsv(176, 67%, 49%)
CMYKcmyk(66.7%, 0%, 4%, 50.6%)
CIE-LABlab(48.00, -25.96, -4.66)
CIE-LCHlch(48.00, 26.38, 190.18°)
OKLaboklab(54.21% -0.0783 -0.013)
OKLCHoklch(54.21% 0.079 189.5)
XYZxyz(11.8653, 16.7931, 20.7015)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7E79 #7E2A2F
analogous
#2A7E4F #2A7E79 #2A597E
triadic
#2A7E79 #792A7E #7E792A
tetradic
#2A7E79 #4F2A7E #7E2A2F #597E2A
square
#2A7E79 #4F2A7E #7E2A2F #597E2A
split-complementary
#2A7E79 #7E2A59 #7E4F2A
monochromatic
#0B2221 #1B504D #2A7E79 #39ACA5 #5AC8C2

Accessibility & contrast

On white

4.82
#2A7E79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#2A7E79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7E79
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7E79#FFFFFF#000000##FFFFFF
##2A7E791.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#777779
Deuteranopia (green-blind)
#6A6E7A
Tritanopia (blue-blind)
#00817C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a7e79;
/* rgb */ color: rgb(42, 126, 121);
/* oklch */ color: oklch(54.2% 0.079 189.5);
Tailwind
colors: {
  custom: {
    50: '#6fa49f',
    500: '#2a7e79',
    950: '#000000',
  },
}
SCSS
$custom: #2a7e79;
$custom-light: #6fa49f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7e79",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 121
  },
  "hsl": {
    "h": 176.429,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54209,
    "c": 0.0794,
    "h": 189.5
  },
  "luminance": 0.16794
}

Semantic roles & 50–950 ramp

primary
#2A7E79
secondary
#AE565B
accent
#4E57DA
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2A7E79

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

Preview Lab → · Contrast checker → · Palette generator →

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