#2A7A6D#2A7A6D

#2A7A6D is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.7% C 0.080 H 180.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2A7A6D
RGBrgb(42, 122, 109)
HSLhsl(170, 49%, 32%)
HSVhsv(170, 66%, 48%)
CMYKcmyk(65.6%, 0%, 10.7%, 52.2%)
CIE-LABlab(46.33, -27.44, -0.01)
CIE-LCHlch(46.33, 27.44, 180.02°)
OKLaboklab(52.74% -0.0796 -0.0005)
OKLCHoklch(52.74% 0.08 180.3)
XYZxyz(10.6734, 15.5143, 16.8971)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7A6D #7A2A37
analogous
#2A7A45 #2A7A6D #2A5F7A
triadic
#2A7A6D #6D2A7A #7A6D2A
tetradic
#2A7A6D #452A7A #7A2A37 #5F7A2A
square
#2A7A6D #452A7A #7A2A37 #5F7A2A
split-complementary
#2A7A6D #7A2A5F #7A452A
monochromatic
#0B1F1C #1A4C44 #2A7A6D #3AA896 #59C6B4

Accessibility & contrast

On white

5.12
#2A7A6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2A7A6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7A6D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7A6D#FFFFFF#000000##FFFFFF
##2A7A6D1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75736C
Deuteranopia (green-blind)
#696A6E
Tritanopia (blue-blind)
#007C76
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7a6d;
/* rgb */ color: rgb(42, 122, 109);
/* oklch */ color: oklch(52.7% 0.080 180.3);
Tailwind
colors: {
  custom: {
    50: '#6ea196',
    500: '#2a7a6d',
    950: '#000000',
  },
}
SCSS
$custom: #2a7a6d;
$custom-light: #6ea196;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7a6d",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 109
  },
  "hsl": {
    "h": 170.25,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52735,
    "c": 0.07963,
    "h": 180.3
  },
  "luminance": 0.15515
}

Semantic roles & 50–950 ramp

primary
#2A7A6D
secondary
#AB5563
accent
#4F66D8
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #2A7A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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