#2F786F#2F786F

#2F786F is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.4% C 0.074 H 184.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2F786F
RGBrgb(47, 120, 111)
HSLhsl(173, 44%, 33%)
HSVhsv(173, 61%, 47%)
CMYKcmyk(60.8%, 0%, 7.5%, 52.9%)
CIE-LABlab(45.89, -24.89, -1.83)
CIE-LCHlch(45.89, 24.96, 184.21°)
OKLaboklab(52.43% -0.0734 -0.0053)
OKLCHoklch(52.43% 0.074 184.2)
XYZxyz(10.7567, 15.1839, 17.3997)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F786F #782F38
analogous
#2F784B #2F786F #2F5C78
triadic
#2F786F #6F2F78 #786F2F
tetradic
#2F786F #4B2F78 #782F38 #5C782F
square
#2F786F #4B2F78 #782F38 #5C782F
split-complementary
#2F786F #782F5C #784B2F
monochromatic
#0D201E #1E4C46 #2F786F #40A498 #60C1B5

Accessibility & contrast

On white

5.20
#2F786F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2F786F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F786F
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F786F#FFFFFF#000000##FFFFFF
##2F786F1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72726F
Deuteranopia (green-blind)
#676970
Tritanopia (blue-blind)
#007A75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f786f;
/* rgb */ color: rgb(47, 120, 111);
/* oklch */ color: oklch(52.4% 0.074 184.2);
Tailwind
colors: {
  custom: {
    50: '#709f98',
    500: '#2f786f',
    950: '#000000',
  },
}
SCSS
$custom: #2f786f;
$custom-light: #709f98;
$custom-dark: #000000;
JSON
{
  "hex": "#2f786f",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 172.603,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52435,
    "c": 0.0736,
    "h": 184.2
  },
  "luminance": 0.15185
}

Semantic roles & 50–950 ramp

primary
#2F786F
secondary
#A85B64
accent
#5464D3
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2F786F

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

Preview Lab → · Contrast checker → · Palette generator →

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