#2A786A#2A786A

#2A786A is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.1% C 0.079 H 179.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2A786A
RGBrgb(42, 120, 106)
HSLhsl(169, 48%, 32%)
HSVhsv(169, 65%, 47%)
CMYKcmyk(65%, 0%, 11.7%, 52.9%)
CIE-LABlab(45.59, -27.30, 0.69)
CIE-LCHlch(45.59, 27.30, 178.56°)
OKLaboklab(52.1% -0.0788 0.0014)
OKLCHoklch(52.1% 0.079 179)
XYZxyz(10.2716, 14.9647, 15.9800)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A786A #782A38
analogous
#2A7843 #2A786A #2A5F78
triadic
#2A786A #6A2A78 #786A2A
tetradic
#2A786A #432A78 #782A38 #5F782A
square
#2A786A #432A78 #782A38 #5F782A
split-complementary
#2A786A #782A5F #78432A
monochromatic
#0A1D1A #1A4B42 #2A786A #3AA592 #58C5B1

Accessibility & contrast

On white

5.26
#2A786A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2A786A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A786A
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A786A#FFFFFF#000000##FFFFFF
##2A786A1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737169
Deuteranopia (green-blind)
#68686B
Tritanopia (blue-blind)
#007A74
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a786a;
/* rgb */ color: rgb(42, 120, 106);
/* oklch */ color: oklch(52.1% 0.079 179.0);
Tailwind
colors: {
  custom: {
    50: '#6d9f94',
    500: '#2a786a',
    950: '#000000',
  },
}
SCSS
$custom: #2a786a;
$custom-light: #6d9f94;
$custom-dark: #000000;
JSON
{
  "hex": "#2a786a",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 106
  },
  "hsl": {
    "h": 169.231,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.521,
    "c": 0.07884,
    "h": 179
  },
  "luminance": 0.14966
}

Semantic roles & 50–950 ramp

primary
#2A786A
secondary
#AA5463
accent
#5068D8
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2A786A

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

Preview Lab → · Contrast checker → · Palette generator →

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