#2A7972#2A7972

#2A7972 is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.6% C 0.077 H 186.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2A7972
RGBrgb(42, 121, 114)
HSLhsl(175, 48%, 32%)
HSVhsv(175, 65%, 47%)
CMYKcmyk(65.3%, 0%, 5.8%, 52.5%)
CIE-LABlab(46.15, -25.51, -3.24)
CIE-LCHlch(46.15, 25.71, 187.25°)
OKLaboklab(52.64% -0.076 -0.0092)
OKLCHoklch(52.64% 0.077 186.9)
XYZxyz(10.8281, 15.3807, 18.3144)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7972 #792A31
analogous
#2A794B #2A7972 #2A5879
triadic
#2A7972 #722A79 #79722A
tetradic
#2A7972 #4B2A79 #792A31 #58792A
square
#2A7972 #4B2A79 #792A31 #58792A
split-complementary
#2A7972 #792A58 #794B2A
monochromatic
#0A1E1C #1A4C47 #2A7972 #3AA69D #58C5BB

Accessibility & contrast

On white

5.15
#2A7972 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2A7972 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7972
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7972#FFFFFF#000000##FFFFFF
##2A79721.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737272
Deuteranopia (green-blind)
#676A73
Tritanopia (blue-blind)
#007C77
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a7972;
/* rgb */ color: rgb(42, 121, 114);
/* oklch */ color: oklch(52.6% 0.077 186.9);
Tailwind
colors: {
  custom: {
    50: '#6ea09a',
    500: '#2a7972',
    950: '#000000',
  },
}
SCSS
$custom: #2a7972;
$custom-light: #6ea09a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7972",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 114
  },
  "hsl": {
    "h": 174.684,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52639,
    "c": 0.07659,
    "h": 186.9
  },
  "luminance": 0.15382
}

Semantic roles & 50–950 ramp

primary
#2A7972
secondary
#AB545C
accent
#505CD8
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2A7972

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

Preview Lab → · Contrast checker → · Palette generator →

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