#2A786B#2A786B

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

Color values

HEX#2A786B
RGBrgb(42, 120, 107)
HSLhsl(170, 48%, 32%)
HSVhsv(170, 65%, 47%)
CMYKcmyk(65%, 0%, 10.8%, 52.9%)
CIE-LABlab(45.61, -27.02, 0.13)
CIE-LCHlch(45.61, 27.02, 179.72°)
OKLaboklab(52.13% -0.0783 -0.0001)
OKLCHoklch(52.13% 0.078 180.1)
XYZxyz(10.3239, 14.9856, 16.2555)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A786B #782A37
analogous
#2A7844 #2A786B #2A5E78
triadic
#2A786B #6B2A78 #786B2A
tetradic
#2A786B #442A78 #782A37 #5E782A
square
#2A786B #442A78 #782A37 #5E782A
split-complementary
#2A786B #782A5E #78442A
monochromatic
#0A1D1A #1A4B43 #2A786B #3AA593 #58C5B2

Accessibility & contrast

On white

5.25
#2A786B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2A786B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A786B
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A786B#FFFFFF#000000##FFFFFF
##2A786B1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73716A
Deuteranopia (green-blind)
#67686C
Tritanopia (blue-blind)
#007A74
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a786b;
/* rgb */ color: rgb(42, 120, 107);
/* oklch */ color: oklch(52.1% 0.078 180.1);
Tailwind
colors: {
  custom: {
    50: '#6e9f95',
    500: '#2a786b',
    950: '#000000',
  },
}
SCSS
$custom: #2a786b;
$custom-light: #6e9f95;
$custom-dark: #000000;
JSON
{
  "hex": "#2a786b",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 107
  },
  "hsl": {
    "h": 170,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52133,
    "c": 0.07833,
    "h": 180.1
  },
  "luminance": 0.14987
}

Semantic roles & 50–950 ramp

primary
#2A786B
secondary
#AA5462
accent
#5067D8
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2A786B

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

Preview Lab → · Contrast checker → · Palette generator →

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