#2A7A6E#2A7A6E

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

Color values

HEX#2A7A6E
RGBrgb(42, 122, 110)
HSLhsl(171, 49%, 32%)
HSVhsv(171, 66%, 48%)
CMYKcmyk(65.6%, 0%, 9.8%, 52.2%)
CIE-LABlab(46.36, -27.16, -0.56)
CIE-LCHlch(46.36, 27.16, 181.18°)
OKLaboklab(52.77% -0.0791 -0.0019)
OKLCHoklch(52.77% 0.079 181.4)
XYZxyz(10.7275, 15.5359, 17.1822)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7A6E #7A2A36
analogous
#2A7A46 #2A7A6E #2A5E7A
triadic
#2A7A6E #6E2A7A #7A6E2A
tetradic
#2A7A6E #462A7A #7A2A36 #5E7A2A
square
#2A7A6E #462A7A #7A2A36 #5E7A2A
split-complementary
#2A7A6E #7A2A5E #7A462A
monochromatic
#0B1F1C #1A4C45 #2A7A6E #3AA897 #59C6B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A7A6E#FFFFFF#000000##FFFFFF
##2A7A6E1.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)
#75736E
Deuteranopia (green-blind)
#696A6F
Tritanopia (blue-blind)
#007C76
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7a6e;
/* rgb */ color: rgb(42, 122, 110);
/* oklch */ color: oklch(52.8% 0.079 181.4);
Tailwind
colors: {
  custom: {
    50: '#6ea197',
    500: '#2a7a6e',
    950: '#000000',
  },
}
SCSS
$custom: #2a7a6e;
$custom-light: #6ea197;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7a6e",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 110
  },
  "hsl": {
    "h": 171,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52768,
    "c": 0.07916,
    "h": 181.4
  },
  "luminance": 0.15537
}

Semantic roles & 50–950 ramp

primary
#2A7A6E
secondary
#AB5562
accent
#4F64D8
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #2A7A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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