#2F9786#2F9786

#2F9786 is a mid, moderate teal. Relative luminance 0.245; OKLCH L 61.3% C 0.097 H 179.8°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2F9786
RGBrgb(47, 151, 134)
HSLhsl(170, 53%, 39%)
HSVhsv(170, 69%, 59%)
CMYKcmyk(68.9%, 0%, 11.3%, 40.8%)
CIE-LABlab(56.54, -33.53, 0.36)
CIE-LCHlch(56.54, 33.54, 179.38°)
OKLaboklab(61.32% -0.097 0.0004)
OKLCHoklch(61.32% 0.097 179.8)
XYZxyz(16.5399, 24.4569, 26.3986)
Luminance0.2446 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9786 #972F40
analogous
#2F9752 #2F9786 #2F7497
triadic
#2F9786 #862F97 #97862F
tetradic
#2F9786 #522F97 #972F40 #74972F
square
#2F9786 #522F97 #972F40 #74972F
split-complementary
#2F9786 #972F74 #97522F
monochromatic
#123A33 #20685D #2F9786 #40C3AE #6ED2C2

Accessibility & contrast

On white

3.56
#2F9786 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#2F9786 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9786
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9786#FFFFFF#000000##000000
##2F97861.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918E85
Deuteranopia (green-blind)
#828387
Tritanopia (blue-blind)
#009A92
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2f9786;
/* rgb */ color: rgb(47, 151, 134);
/* oklch */ color: oklch(61.3% 0.097 179.8);
Tailwind
colors: {
  custom: {
    50: '#76b6a9',
    500: '#2f9786',
    950: '#000000',
  },
}
SCSS
$custom: #2f9786;
$custom-light: #76b6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9786",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 134
  },
  "hsl": {
    "h": 170.192,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.6132,
    "c": 0.09698,
    "h": 179.8
  },
  "luminance": 0.24459
}

Semantic roles & 50–950 ramp

primary
#2F9786
secondary
#B96876
accent
#4C63DC
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A110F
muted
#7C807F

Preview Lab

Preview with #2F9786

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

Preview Lab → · Contrast checker → · Palette generator →

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