#2D7271#2D7271

#2D7271 is a mid, moderate teal. Relative luminance 0.138; OKLCH L 50.8% C 0.069 H 193.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#2D7271
RGBrgb(45, 114, 113)
HSLhsl(179, 43%, 31%)
HSVhsv(179, 61%, 45%)
CMYKcmyk(60.5%, 0%, 0.9%, 55.3%)
CIE-LABlab(43.92, -21.62, -5.94)
CIE-LCHlch(43.92, 22.42, 195.37°)
OKLaboklab(50.85% -0.0666 -0.0165)
OKLCHoklch(50.85% 0.069 193.9)
XYZxyz(10.0789, 13.7837, 17.7490)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7271 #722D2E
analogous
#2D724E #2D7271 #2D5072
triadic
#2D7271 #712D72 #72712D
tetradic
#2D7271 #4E2D72 #722D2E #50722D
square
#2D7271 #4E2D72 #722D2E #50722D
split-complementary
#2D7271 #722D50 #724E2D
monochromatic
#0A1A1A #1C4646 #2D7271 #3E9E9C #5BBEBD

Accessibility & contrast

On white

5.59
#2D7271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#2D7271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7271
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7271#FFFFFF#000000##FFFFFF
##2D72711.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6D71
Deuteranopia (green-blind)
#606472
Tritanopia (blue-blind)
#007571
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2d7271;
/* rgb */ color: rgb(45, 114, 113);
/* oklch */ color: oklch(50.8% 0.069 193.9);
Tailwind
colors: {
  custom: {
    50: '#6e9b99',
    500: '#2d7271',
    950: '#000000',
  },
}
SCSS
$custom: #2d7271;
$custom-light: #6e9b99;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7271",
  "rgb": {
    "r": 45,
    "g": 114,
    "b": 113
  },
  "hsl": {
    "h": 179.13,
    "s": 43.396,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50847,
    "c": 0.06865,
    "h": 193.9
  },
  "luminance": 0.13785
}

Semantic roles & 50–950 ramp

primary
#2D7271
secondary
#A35758
accent
#5556D3
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2D7271

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

Preview Lab → · Contrast checker → · Palette generator →

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