#2A786D#2A786D

#2A786D is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.2% C 0.077 H 182.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2A786D
RGBrgb(42, 120, 109)
HSLhsl(172, 48%, 32%)
HSVhsv(172, 65%, 47%)
CMYKcmyk(65%, 0%, 9.2%, 52.9%)
CIE-LABlab(45.67, -26.45, -0.97)
CIE-LCHlch(45.67, 26.47, 182.11°)
OKLaboklab(52.2% -0.0773 -0.0031)
OKLCHoklch(52.2% 0.077 182.3)
XYZxyz(10.4304, 15.0282, 16.8161)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A786D #782A35
analogous
#2A7846 #2A786D #2A5C78
triadic
#2A786D #6D2A78 #786D2A
tetradic
#2A786D #462A78 #782A35 #5C782A
square
#2A786D #462A78 #782A35 #5C782A
split-complementary
#2A786D #782A5C #78462A
monochromatic
#0A1D1B #1A4B44 #2A786D #3AA596 #58C5B5

Accessibility & contrast

On white

5.24
#2A786D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A786D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A786D#FFFFFF#000000##FFFFFF
##2A786D1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73716D
Deuteranopia (green-blind)
#67696E
Tritanopia (blue-blind)
#007A75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a786d;
/* rgb */ color: rgb(42, 120, 109);
/* oklch */ color: oklch(52.2% 0.077 182.3);
Tailwind
colors: {
  custom: {
    50: '#6e9f96',
    500: '#2a786d',
    950: '#000000',
  },
}
SCSS
$custom: #2a786d;
$custom-light: #6e9f96;
$custom-dark: #000000;
JSON
{
  "hex": "#2a786d",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 109
  },
  "hsl": {
    "h": 171.538,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.522,
    "c": 0.0774,
    "h": 182.3
  },
  "luminance": 0.15029
}

Semantic roles & 50–950 ramp

primary
#2A786D
secondary
#AA5460
accent
#5063D8
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2A786D

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

Preview Lab → · Contrast checker → · Palette generator →

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