#2A7A72#2A7A72

#2A7A72 is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.9% C 0.078 H 185.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2A7A72
RGBrgb(42, 122, 114)
HSLhsl(174, 49%, 32%)
HSVhsv(174, 66%, 48%)
CMYKcmyk(65.6%, 0%, 6.6%, 52.2%)
CIE-LABlab(46.48, -26.01, -2.76)
CIE-LCHlch(46.48, 26.16, 186.06°)
OKLaboklab(52.9% -0.0772 -0.0079)
OKLCHoklch(52.9% 0.078 185.8)
XYZxyz(10.9503, 15.6250, 18.3552)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7A72 #7A2A32
analogous
#2A7A4A #2A7A72 #2A5A7A
triadic
#2A7A72 #722A7A #7A722A
tetradic
#2A7A72 #4A2A7A #7A2A32 #5A7A2A
square
#2A7A72 #4A2A7A #7A2A32 #5A7A2A
split-complementary
#2A7A72 #7A2A5A #7A4A2A
monochromatic
#0B1F1D #1A4C47 #2A7A72 #3AA89D #59C6BB

Accessibility & contrast

On white

5.09
#2A7A72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2A7A72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7A72
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7A72#FFFFFF#000000##FFFFFF
##2A7A721.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747372
Deuteranopia (green-blind)
#686A73
Tritanopia (blue-blind)
#007D77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7a72;
/* rgb */ color: rgb(42, 122, 114);
/* oklch */ color: oklch(52.9% 0.078 185.8);
Tailwind
colors: {
  custom: {
    50: '#6ea19a',
    500: '#2a7a72',
    950: '#000000',
  },
}
SCSS
$custom: #2a7a72;
$custom-light: #6ea19a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7a72",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 114
  },
  "hsl": {
    "h": 174,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52904,
    "c": 0.07758,
    "h": 185.8
  },
  "luminance": 0.15626
}

Semantic roles & 50–950 ramp

primary
#2A7A72
secondary
#AB555D
accent
#4F5DD8
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0E
muted
#7B7E7E

Preview Lab

Preview with #2A7A72

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

Preview Lab → · Contrast checker → · Palette generator →

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