#2F9787#2F9787

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

Color values

HEX#2F9787
RGBrgb(47, 151, 135)
HSLhsl(171, 53%, 39%)
HSVhsv(171, 69%, 59%)
CMYKcmyk(68.9%, 0%, 10.6%, 40.8%)
CIE-LABlab(56.57, -33.26, -0.17)
CIE-LCHlch(56.57, 33.26, 180.29°)
OKLaboklab(61.35% -0.0965 -0.001)
OKLCHoklch(61.35% 0.097 180.6)
XYZxyz(16.6100, 24.4849, 26.7677)
Luminance0.2449 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9787 #972F3F
analogous
#2F9753 #2F9787 #2F7397
triadic
#2F9787 #872F97 #97872F
tetradic
#2F9787 #532F97 #972F3F #73972F
square
#2F9787 #532F97 #972F3F #73972F
split-complementary
#2F9787 #972F73 #97532F
monochromatic
#123A34 #20685D #2F9787 #40C3AF #6ED2C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F9787#FFFFFF#000000##000000
##2F97871.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)
#908E86
Deuteranopia (green-blind)
#828388
Tritanopia (blue-blind)
#009A92
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2f9787;
/* rgb */ color: rgb(47, 151, 135);
/* oklch */ color: oklch(61.4% 0.097 180.6);
Tailwind
colors: {
  custom: {
    50: '#76b6a9',
    500: '#2f9787',
    950: '#000000',
  },
}
SCSS
$custom: #2f9787;
$custom-light: #76b6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9787",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 135
  },
  "hsl": {
    "h": 170.769,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.61352,
    "c": 0.09651,
    "h": 180.6
  },
  "luminance": 0.24487
}

Semantic roles & 50–950 ramp

primary
#2F9787
secondary
#B96875
accent
#4C62DC
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #2F9787

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

Preview Lab → · Contrast checker → · Palette generator →

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