#2D7F7D#2D7F7D

#2D7F7D is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.7% C 0.078 H 192.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2D7F7D
RGBrgb(45, 127, 125)
HSLhsl(179, 48%, 34%)
HSVhsv(179, 65%, 50%)
CMYKcmyk(64.6%, 0%, 1.6%, 50.2%)
CIE-LABlab(48.53, -24.76, -6.22)
CIE-LCHlch(48.53, 25.53, 194.11°)
OKLaboklab(54.71% -0.0759 -0.0173)
OKLCHoklch(54.71% 0.078 192.8)
XYZxyz(12.3716, 17.2160, 22.0691)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7F7D #7F2D2F
analogous
#2D7F54 #2D7F7D #2D587F
triadic
#2D7F7D #7D2D7F #7F7D2D
tetradic
#2D7F7D #542D7F #7F2D2F #587F2D
square
#2D7F7D #542D7F #7F2D2F #587F2D
split-complementary
#2D7F7D #7F2D58 #7F542D
monochromatic
#0D2524 #1D5251 #2D7F7D #3DACA9 #60C7C4

Accessibility & contrast

On white

4.73
#2D7F7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2D7F7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7F7D
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7F7D#FFFFFF#000000##FFFFFF
##2D7F7D1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77797D
Deuteranopia (green-blind)
#6A6F7E
Tritanopia (blue-blind)
#00837E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d7f7d;
/* rgb */ color: rgb(45, 127, 125);
/* oklch */ color: oklch(54.7% 0.078 192.8);
Tailwind
colors: {
  custom: {
    50: '#71a4a2',
    500: '#2d7f7d',
    950: '#000000',
  },
}
SCSS
$custom: #2d7f7d;
$custom-light: #71a4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7f7d",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 125
  },
  "hsl": {
    "h": 178.537,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54706,
    "c": 0.07788,
    "h": 192.8
  },
  "luminance": 0.17217
}

Semantic roles & 50–950 ramp

primary
#2D7F7D
secondary
#AD5B5D
accent
#5154D7
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0F
muted
#7B7F7E

Preview Lab

Preview with #2D7F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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