#2A7A6F#2A7A6F

#2A7A6F is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.8% C 0.079 H 182.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2A7A6F
RGBrgb(42, 122, 111)
HSLhsl(172, 49%, 32%)
HSVhsv(172, 66%, 48%)
CMYKcmyk(65.6%, 0%, 9%, 52.2%)
CIE-LABlab(46.39, -26.87, -1.11)
CIE-LCHlch(46.39, 26.90, 182.37°)
OKLaboklab(52.8% -0.0786 -0.0034)
OKLCHoklch(52.8% 0.079 182.5)
XYZxyz(10.7823, 15.5578, 17.4706)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7A6F #7A2A35
analogous
#2A7A47 #2A7A6F #2A5D7A
triadic
#2A7A6F #6F2A7A #7A6F2A
tetradic
#2A7A6F #472A7A #7A2A35 #5D7A2A
square
#2A7A6F #472A7A #7A2A35 #5D7A2A
split-complementary
#2A7A6F #7A2A5D #7A472A
monochromatic
#0B1F1C #1A4C46 #2A7A6F #3AA898 #59C6B7

Accessibility & contrast

On white

5.11
#2A7A6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2A7A6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7A6F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7A6F#FFFFFF#000000##FFFFFF
##2A7A6F1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74736F
Deuteranopia (green-blind)
#686A70
Tritanopia (blue-blind)
#007C77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7a6f;
/* rgb */ color: rgb(42, 122, 111);
/* oklch */ color: oklch(52.8% 0.079 182.5);
Tailwind
colors: {
  custom: {
    50: '#6ea198',
    500: '#2a7a6f',
    950: '#000000',
  },
}
SCSS
$custom: #2a7a6f;
$custom-light: #6ea198;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7a6f",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 111
  },
  "hsl": {
    "h": 171.75,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52802,
    "c": 0.07872,
    "h": 182.5
  },
  "luminance": 0.15559
}

Semantic roles & 50–950 ramp

primary
#2A7A6F
secondary
#AB5560
accent
#4F62D8
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #2A7A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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