#2F8784#2F8784

#2F8784 is a mid, moderate teal. Relative luminance 0.196; OKLCH L 57.1% C 0.082 H 191.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2F8784
RGBrgb(47, 135, 132)
HSLhsl(178, 48%, 36%)
HSVhsv(178, 65%, 53%)
CMYKcmyk(65.2%, 0%, 2.2%, 47.1%)
CIE-LABlab(51.38, -26.37, -6.09)
CIE-LCHlch(51.38, 27.06, 193.00°)
OKLaboklab(57.1% -0.0805 -0.0169)
OKLCHoklch(57.1% 0.082 191.9)
XYZxyz(13.9993, 19.5967, 24.8701)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8784 #872F32
analogous
#2F8758 #2F8784 #2F5E87
triadic
#2F8784 #842F87 #87842F
tetradic
#2F8784 #582F87 #872F32 #5E872F
square
#2F8784 #582F87 #872F32 #5E872F
split-complementary
#2F8784 #872F5E #87582F
monochromatic
#0F2C2B #1F5A58 #2F8784 #3FB4B0 #66CAC7

Accessibility & contrast

On white

4.27
#2F8784 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#2F8784 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8784
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8784#FFFFFF#000000##000000
##2F87841.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8084
Deuteranopia (green-blind)
#717685
Tritanopia (blue-blind)
#008B86
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8784;
/* rgb */ color: rgb(47, 135, 132);
/* oklch */ color: oklch(57.1% 0.082 191.9);
Tailwind
colors: {
  custom: {
    50: '#74aaa7',
    500: '#2f8784',
    950: '#000000',
  },
}
SCSS
$custom: #2f8784;
$custom-light: #74aaa7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8784",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 132
  },
  "hsl": {
    "h": 177.955,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57103,
    "c": 0.08227,
    "h": 191.9
  },
  "luminance": 0.19598
}

Semantic roles & 50–950 ramp

primary
#2F8784
secondary
#B16164
accent
#5055D8
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #2F8784

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

Preview Lab → · Contrast checker → · Palette generator →

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