#2A7A71#2A7A71

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

Color values

HEX#2A7A71
RGBrgb(42, 122, 113)
HSLhsl(173, 49%, 32%)
HSVhsv(173, 66%, 48%)
CMYKcmyk(65.6%, 0%, 7.4%, 52.2%)
CIE-LABlab(46.45, -26.30, -2.21)
CIE-LCHlch(46.45, 26.39, 184.81°)
OKLaboklab(52.87% -0.0777 -0.0064)
OKLCHoklch(52.87% 0.078 184.7)
XYZxyz(10.8936, 15.6024, 18.0570)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7A71 #7A2A33
analogous
#2A7A49 #2A7A71 #2A5B7A
triadic
#2A7A71 #712A7A #7A712A
tetradic
#2A7A71 #492A7A #7A2A33 #5B7A2A
square
#2A7A71 #492A7A #7A2A33 #5B7A2A
split-complementary
#2A7A71 #7A2A5B #7A492A
monochromatic
#0B1F1D #1A4C47 #2A7A71 #3AA89B #59C6B9

Accessibility & contrast

On white

5.10
#2A7A71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2A7A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7A71
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7A71#FFFFFF#000000##FFFFFF
##2A7A711.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a7a71;
/* rgb */ color: rgb(42, 122, 113);
/* oklch */ color: oklch(52.9% 0.078 184.7);
Tailwind
colors: {
  custom: {
    50: '#6ea199',
    500: '#2a7a71',
    950: '#000000',
  },
}
SCSS
$custom: #2a7a71;
$custom-light: #6ea199;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7a71",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 113
  },
  "hsl": {
    "h": 173.25,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5287,
    "c": 0.07793,
    "h": 184.7
  },
  "luminance": 0.15604
}

Semantic roles & 50–950 ramp

primary
#2A7A71
secondary
#AB555E
accent
#4F5FD8
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0E
muted
#7B7E7E

Preview Lab

Preview with #2A7A71

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

Preview Lab → · Contrast checker → · Palette generator →

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