#2A786F#2A786F

#2A786F is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.3% C 0.077 H 184.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2A786F
RGBrgb(42, 120, 111)
HSLhsl(173, 48%, 32%)
HSVhsv(173, 65%, 47%)
CMYKcmyk(65%, 0%, 7.5%, 52.9%)
CIE-LABlab(45.73, -25.88, -2.08)
CIE-LCHlch(45.73, 25.96, 184.59°)
OKLaboklab(52.27% -0.0764 -0.006)
OKLCHoklch(52.27% 0.077 184.5)
XYZxyz(10.5392, 15.0718, 17.3896)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A786F #782A33
analogous
#2A7848 #2A786F #2A5A78
triadic
#2A786F #6F2A78 #786F2A
tetradic
#2A786F #482A78 #782A33 #5A782A
square
#2A786F #482A78 #782A33 #5A782A
split-complementary
#2A786F #782A5A #78482A
monochromatic
#0A1D1B #1A4B45 #2A786F #3AA599 #58C5B8

Accessibility & contrast

On white

5.23
#2A786F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2A786F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A786F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A786F#FFFFFF#000000##FFFFFF
##2A786F1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72716F
Deuteranopia (green-blind)
#666970
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a786f;
/* rgb */ color: rgb(42, 120, 111);
/* oklch */ color: oklch(52.3% 0.077 184.5);
Tailwind
colors: {
  custom: {
    50: '#6e9f98',
    500: '#2a786f',
    950: '#000000',
  },
}
SCSS
$custom: #2a786f;
$custom-light: #6e9f98;
$custom-dark: #000000;
JSON
{
  "hex": "#2a786f",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 173.077,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52268,
    "c": 0.0766,
    "h": 184.5
  },
  "luminance": 0.15073
}

Semantic roles & 50–950 ramp

primary
#2A786F
secondary
#AA545E
accent
#5060D8
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2A786F

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

Preview Lab → · Contrast checker → · Palette generator →

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