#2D7A6F#2D7A6F

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

Color values

HEX#2D7A6F
RGBrgb(45, 122, 111)
HSLhsl(171, 46%, 33%)
HSVhsv(171, 63%, 48%)
CMYKcmyk(63.1%, 0%, 9%, 52.2%)
CIE-LABlab(46.48, -26.30, -0.97)
CIE-LCHlch(46.48, 26.32, 182.12°)
OKLaboklab(52.9% -0.0769 -0.0031)
OKLCHoklch(52.9% 0.077 182.3)
XYZxyz(10.9097, 15.6235, 17.4765)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7A6F #7A2D38
analogous
#2D7A49 #2D7A6F #2D5E7A
triadic
#2D7A6F #6F2D7A #7A6F2D
tetradic
#2D7A6F #492D7A #7A2D38 #5E7A2D
square
#2D7A6F #492D7A #7A2D38 #5E7A2D
split-complementary
#2D7A6F #7A2D5E #7A492D
monochromatic
#0C211E #1D4D46 #2D7A6F #3DA798 #5EC4B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7A6F#FFFFFF#000000##FFFFFF
##2D7A6F1.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)
#75736F
Deuteranopia (green-blind)
#696B70
Tritanopia (blue-blind)
#007C77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7a6f;
/* rgb */ color: rgb(45, 122, 111);
/* oklch */ color: oklch(52.9% 0.077 182.3);
Tailwind
colors: {
  custom: {
    50: '#6fa198',
    500: '#2d7a6f',
    950: '#000000',
  },
}
SCSS
$custom: #2d7a6f;
$custom-light: #6fa198;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7a6f",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 111
  },
  "hsl": {
    "h": 171.429,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52898,
    "c": 0.077,
    "h": 182.3
  },
  "luminance": 0.15625
}

Semantic roles & 50–950 ramp

primary
#2D7A6F
secondary
#AA5964
accent
#5265D6
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #2D7A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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