#2A7C79#2A7C79

#2A7C79 is a mid, moderate teal. Relative luminance 0.163; OKLCH L 53.7% C 0.078 H 191.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2A7C79
RGBrgb(42, 124, 121)
HSLhsl(178, 49%, 33%)
HSVhsv(178, 66%, 49%)
CMYKcmyk(66.1%, 0%, 2.4%, 51.4%)
CIE-LABlab(47.35, -24.95, -5.63)
CIE-LCHlch(47.35, 25.58, 192.70°)
OKLaboklab(53.68% -0.0761 -0.0157)
OKLCHoklch(53.68% 0.078 191.6)
XYZxyz(11.6121, 16.2867, 20.6171)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7C79 #7C2A2D
analogous
#2A7C50 #2A7C79 #2A567C
triadic
#2A7C79 #792A7C #7C792A
tetradic
#2A7C79 #502A7C #7C2A2D #567C2A
square
#2A7C79 #502A7C #7C2A2D #567C2A
split-complementary
#2A7C79 #7C2A56 #7C502A
monochromatic
#0B2120 #1B4E4C #2A7C79 #39AAA6 #59C7C3

Accessibility & contrast

On white

4.93
#2A7C79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2A7C79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7C79
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7C79#FFFFFF#000000##FFFFFF
##2A7C791.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757679
Deuteranopia (green-blind)
#686C7A
Tritanopia (blue-blind)
#007F7B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a7c79;
/* rgb */ color: rgb(42, 124, 121);
/* oklch */ color: oklch(53.7% 0.078 191.6);
Tailwind
colors: {
  custom: {
    50: '#6fa29f',
    500: '#2a7c79',
    950: '#000000',
  },
}
SCSS
$custom: #2a7c79;
$custom-light: #6fa29f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7c79",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 121
  },
  "hsl": {
    "h": 177.805,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53682,
    "c": 0.07768,
    "h": 191.6
  },
  "luminance": 0.16288
}

Semantic roles & 50–950 ramp

primary
#2A7C79
secondary
#AD5558
accent
#4F54D9
background
#F7FAF9
surface
#EDF3F2
border
#C8CDCC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2A7C79

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

Preview Lab → · Contrast checker → · Palette generator →

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