#2B786F#2B786F

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

Color values

HEX#2B786F
RGBrgb(43, 120, 111)
HSLhsl(173, 47%, 32%)
HSVhsv(173, 64%, 47%)
CMYKcmyk(64.2%, 0%, 7.5%, 52.9%)
CIE-LABlab(45.76, -25.69, -2.03)
CIE-LCHlch(45.76, 25.77, 184.52°)
OKLaboklab(52.3% -0.0758 -0.0059)
OKLCHoklch(52.3% 0.076 184.4)
XYZxyz(10.5807, 15.0931, 17.3915)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B786F #782B34
analogous
#2B7849 #2B786F #2B5B78
triadic
#2B786F #6F2B78 #786F2B
tetradic
#2B786F #492B78 #782B34 #5B782B
square
#2B786F #492B78 #782B34 #5B782B
split-complementary
#2B786F #782B5B #78492B
monochromatic
#0B1E1C #1B4B45 #2B786F #3BA599 #5AC4B7

Accessibility & contrast

On white

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

On black

4.02
#2B786F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B786F#FFFFFF#000000##FFFFFF
##2B786F1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b786f;
/* rgb */ color: rgb(43, 120, 111);
/* oklch */ color: oklch(52.3% 0.076 184.4);
Tailwind
colors: {
  custom: {
    50: '#6e9f98',
    500: '#2b786f',
    950: '#000000',
  },
}
SCSS
$custom: #2b786f;
$custom-light: #6e9f98;
$custom-dark: #000000;
JSON
{
  "hex": "#2b786f",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 172.987,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.523,
    "c": 0.07602,
    "h": 184.4
  },
  "luminance": 0.15094
}

Semantic roles & 50–950 ramp

primary
#2B786F
secondary
#AA555F
accent
#5161D7
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2B786F

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

Preview Lab → · Contrast checker → · Palette generator →

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