#2A7F76#2A7F76

#2A7F76 is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.4% C 0.081 H 185.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2A7F76
RGBrgb(42, 127, 118)
HSLhsl(174, 50%, 33%)
HSVhsv(174, 67%, 50%)
CMYKcmyk(66.9%, 0%, 7.1%, 50.2%)
CIE-LABlab(48.23, -27.34, -2.55)
CIE-LCHlch(48.23, 27.46, 185.32°)
OKLaboklab(54.37% -0.0809 -0.0073)
OKLCHoklch(54.37% 0.081 185.2)
XYZxyz(11.8127, 16.9777, 19.7905)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7F76 #7F2A33
analogous
#2A7F4B #2A7F76 #2A5D7F
triadic
#2A7F76 #762A7F #7F762A
tetradic
#2A7F76 #4B2A7F #7F2A33 #5D7F2A
square
#2A7F76 #4B2A7F #7F2A33 #5D7F2A
split-complementary
#2A7F76 #7F2A5D #7F4B2A
monochromatic
#0C2321 #1B514B #2A7F76 #39ADA1 #5BC9BD

Accessibility & contrast

On white

4.78
#2A7F76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2A7F76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7F76
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7F76#FFFFFF#000000##FFFFFF
##2A7F761.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797876
Deuteranopia (green-blind)
#6C6F77
Tritanopia (blue-blind)
#00827C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a7f76;
/* rgb */ color: rgb(42, 127, 118);
/* oklch */ color: oklch(54.4% 0.081 185.2);
Tailwind
colors: {
  custom: {
    50: '#6fa49d',
    500: '#2a7f76',
    950: '#000000',
  },
}
SCSS
$custom: #2a7f76;
$custom-light: #6fa49d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7f76",
  "rgb": {
    "r": 42,
    "g": 127,
    "b": 118
  },
  "hsl": {
    "h": 173.647,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54369,
    "c": 0.08121,
    "h": 185.2
  },
  "luminance": 0.16979
}

Semantic roles & 50–950 ramp

primary
#2A7F76
secondary
#AE5760
accent
#4E5DDA
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2A7F76

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

Preview Lab → · Contrast checker → · Palette generator →

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