#2A7D7A#2A7D7A

#2A7D7A is a mid, moderate teal. Relative luminance 0.166; OKLCH L 54.0% C 0.078 H 191.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2A7D7A
RGBrgb(42, 125, 122)
HSLhsl(178, 50%, 33%)
HSVhsv(178, 66%, 49%)
CMYKcmyk(66.4%, 0%, 2.4%, 51%)
CIE-LABlab(47.70, -25.16, -5.69)
CIE-LCHlch(47.70, 25.80, 192.74°)
OKLaboklab(53.98% -0.0767 -0.0158)
OKLCHoklch(53.98% 0.078 191.7)
XYZxyz(11.7997, 16.5633, 20.9838)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D7A #7D2A2D
analogous
#2A7D50 #2A7D7A #2A577D
triadic
#2A7D7A #7A2A7D #7D7A2A
tetradic
#2A7D7A #502A7D #7D2A2D #577D2A
square
#2A7D7A #502A7D #7D2A2D #577D2A
split-complementary
#2A7D7A #7D2A57 #7D502A
monochromatic
#0B2121 #1B4F4D #2A7D7A #39ABA7 #5AC8C4

Accessibility & contrast

On white

4.87
#2A7D7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2A7D7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7D7A
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7D7A#FFFFFF#000000##FFFFFF
##2A7D7A1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75777A
Deuteranopia (green-blind)
#696D7B
Tritanopia (blue-blind)
#00817C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a7d7a;
/* rgb */ color: rgb(42, 125, 122);
/* oklch */ color: oklch(54.0% 0.078 191.7);
Tailwind
colors: {
  custom: {
    50: '#6fa3a0',
    500: '#2a7d7a',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d7a;
$custom-light: #6fa3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d7a",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 122
  },
  "hsl": {
    "h": 177.831,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53982,
    "c": 0.07834,
    "h": 191.7
  },
  "luminance": 0.16565
}

Semantic roles & 50–950 ramp

primary
#2A7D7A
secondary
#AD5659
accent
#4F54D9
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2A7D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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