#2F8780#2F8780

#2F8780 is a mid, moderate teal. Relative luminance 0.195; OKLCH L 57.0% C 0.083 H 187.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2F8780
RGBrgb(47, 135, 128)
HSLhsl(175, 48%, 36%)
HSVhsv(175, 65%, 53%)
CMYKcmyk(65.2%, 0%, 5.2%, 47.1%)
CIE-LABlab(51.25, -27.54, -3.94)
CIE-LCHlch(51.25, 27.82, 188.14°)
OKLaboklab(56.96% -0.0824 -0.0111)
OKLCHoklch(56.96% 0.083 187.7)
XYZxyz(13.7308, 19.4893, 23.4561)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8780 #872F36
analogous
#2F8754 #2F8780 #2F6287
triadic
#2F8780 #802F87 #87802F
tetradic
#2F8780 #542F87 #872F36 #62872F
square
#2F8780 #542F87 #872F36 #62872F
split-complementary
#2F8780 #872F62 #87542F
monochromatic
#0F2C2A #1F5A55 #2F8780 #3FB4AB #66CAC2

Accessibility & contrast

On white

4.29
#2F8780 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#2F8780 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8780
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8780#FFFFFF#000000##000000
##2F87801.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#808080
Deuteranopia (green-blind)
#727681
Tritanopia (blue-blind)
#008A85
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8780;
/* rgb */ color: rgb(47, 135, 128);
/* oklch */ color: oklch(57.0% 0.083 187.7);
Tailwind
colors: {
  custom: {
    50: '#73aaa4',
    500: '#2f8780',
    950: '#000000',
  },
}
SCSS
$custom: #2f8780;
$custom-light: #73aaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8780",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 128
  },
  "hsl": {
    "h": 175.227,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56962,
    "c": 0.08312,
    "h": 187.7
  },
  "luminance": 0.19491
}

Semantic roles & 50–950 ramp

primary
#2F8780
secondary
#B16167
accent
#505BD8
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #2F8780

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

Preview Lab → · Contrast checker → · Palette generator →

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