#2B7A71#2B7A71

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

Color values

HEX#2B7A71
RGBrgb(43, 122, 113)
HSLhsl(173, 48%, 32%)
HSVhsv(173, 65%, 48%)
CMYKcmyk(64.8%, 0%, 7.4%, 52.2%)
CIE-LABlab(46.48, -26.11, -2.17)
CIE-LCHlch(46.48, 26.20, 184.74°)
OKLaboklab(52.9% -0.0771 -0.0063)
OKLCHoklch(52.9% 0.077 184.6)
XYZxyz(10.9351, 15.6237, 18.0590)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7A71 #7A2B34
analogous
#2B7A4A #2B7A71 #2B5B7A
triadic
#2B7A71 #712B7A #7A712B
tetradic
#2B7A71 #4A2B7A #7A2B34 #5B7A2B
square
#2B7A71 #4A2B7A #7A2B34 #5B7A2B
split-complementary
#2B7A71 #7A2B5B #7A4A2B
monochromatic
#0B1F1D #1B4D47 #2B7A71 #3BA79B #5AC5B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7A71#FFFFFF#000000##FFFFFF
##2B7A711.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.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: #2b7a71;
/* rgb */ color: rgb(43, 122, 113);
/* oklch */ color: oklch(52.9% 0.077 184.6);
Tailwind
colors: {
  custom: {
    50: '#6fa199',
    500: '#2b7a71',
    950: '#000000',
  },
}
SCSS
$custom: #2b7a71;
$custom-light: #6fa199;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7a71",
  "rgb": {
    "r": 43,
    "g": 122,
    "b": 113
  },
  "hsl": {
    "h": 173.165,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52901,
    "c": 0.07736,
    "h": 184.6
  },
  "luminance": 0.15625
}

Semantic roles & 50–950 ramp

primary
#2B7A71
secondary
#AB5660
accent
#5060D7
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0E
muted
#7B7E7E

Preview Lab

Preview with #2B7A71

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

Preview Lab → · Contrast checker → · Palette generator →

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