#2A7A78#2A7A78

#2A7A78 is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.1% C 0.076 H 192.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2A7A78
RGBrgb(42, 122, 120)
HSLhsl(179, 49%, 32%)
HSVhsv(179, 66%, 48%)
CMYKcmyk(65.6%, 0%, 1.6%, 52.2%)
CIE-LABlab(46.67, -24.23, -6.05)
CIE-LCHlch(46.67, 24.98, 194.01°)
OKLaboklab(53.12% -0.0743 -0.0168)
OKLCHoklch(53.12% 0.076 192.8)
XYZxyz(11.3030, 15.7661, 20.2131)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7A78 #7A2A2C
analogous
#2A7A50 #2A7A78 #2A547A
triadic
#2A7A78 #782A7A #7A782A
tetradic
#2A7A78 #502A7A #7A2A2C #547A2A
square
#2A7A78 #502A7A #7A2A2C #547A2A
split-complementary
#2A7A78 #7A2A54 #7A502A
monochromatic
#0B1F1E #1A4C4B #2A7A78 #3AA8A5 #59C6C3

Accessibility & contrast

On white

5.06
#2A7A78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2A7A78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7A78
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7A78#FFFFFF#000000##FFFFFF
##2A7A781.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737478
Deuteranopia (green-blind)
#666B79
Tritanopia (blue-blind)
#007E79
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a7a78;
/* rgb */ color: rgb(42, 122, 120);
/* oklch */ color: oklch(53.1% 0.076 192.8);
Tailwind
colors: {
  custom: {
    50: '#6fa19e',
    500: '#2a7a78',
    950: '#000000',
  },
}
SCSS
$custom: #2a7a78;
$custom-light: #6fa19e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7a78",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 120
  },
  "hsl": {
    "h": 178.5,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53119,
    "c": 0.07618,
    "h": 192.8
  },
  "luminance": 0.15767
}

Semantic roles & 50–950 ramp

primary
#2A7A78
secondary
#AB5557
accent
#4F53D8
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0E
muted
#7B7E7E

Preview Lab

Preview with #2A7A78

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

Preview Lab → · Contrast checker → · Palette generator →

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