#2F9788#2F9788

#2F9788 is a mid, moderate teal. Relative luminance 0.245; OKLCH L 61.4% C 0.096 H 181.4°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#2F9788
RGBrgb(47, 151, 136)
HSLhsl(171, 53%, 39%)
HSVhsv(171, 69%, 59%)
CMYKcmyk(68.9%, 0%, 9.9%, 40.8%)
CIE-LABlab(56.60, -32.98, -0.70)
CIE-LCHlch(56.60, 32.99, 181.21°)
OKLaboklab(61.38% -0.096 -0.0024)
OKLCHoklch(61.38% 0.096 181.4)
XYZxyz(16.6807, 24.5132, 27.1402)
Luminance0.2452 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9788 #972F3E
analogous
#2F9754 #2F9788 #2F7297
triadic
#2F9788 #882F97 #97882F
tetradic
#2F9788 #542F97 #972F3E #72972F
square
#2F9788 #542F97 #972F3E #72972F
split-complementary
#2F9788 #972F72 #97542F
monochromatic
#123A34 #20685E #2F9788 #40C3B0 #6ED2C4

Accessibility & contrast

On white

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

On black

5.90
#2F9788 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9788
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9788#FFFFFF#000000##000000
##2F97881.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#908E87
Deuteranopia (green-blind)
#818389
Tritanopia (blue-blind)
#009A92
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2f9788;
/* rgb */ color: rgb(47, 151, 136);
/* oklch */ color: oklch(61.4% 0.096 181.4);
Tailwind
colors: {
  custom: {
    50: '#76b6aa',
    500: '#2f9788',
    950: '#000000',
  },
}
SCSS
$custom: #2f9788;
$custom-light: #76b6aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9788",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 136
  },
  "hsl": {
    "h": 171.346,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.61384,
    "c": 0.09606,
    "h": 181.4
  },
  "luminance": 0.24515
}

Semantic roles & 50–950 ramp

primary
#2F9788
secondary
#B96874
accent
#4C61DC
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #2F9788

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

Preview Lab → · Contrast checker → · Palette generator →

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