#2F9987#2F9987

#2F9987 is a mid, moderate teal. Relative luminance 0.251; OKLCH L 61.9% C 0.099 H 179.1°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#2F9987
RGBrgb(47, 153, 135)
HSLhsl(170, 53%, 39%)
HSVhsv(170, 69%, 60%)
CMYKcmyk(69.3%, 0%, 11.8%, 40%)
CIE-LABlab(57.21, -34.19, 0.76)
CIE-LCHlch(57.21, 34.20, 178.73°)
OKLaboklab(61.87% -0.0986 0.0015)
OKLCHoklch(61.87% 0.099 179.1)
XYZxyz(16.9346, 25.1342, 26.8759)
Luminance0.2514 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9987 #992F41
analogous
#2F9952 #2F9987 #2F7699
triadic
#2F9987 #872F99 #99872F
tetradic
#2F9987 #522F99 #992F41 #76992F
square
#2F9987 #522F99 #992F41 #76992F
split-complementary
#2F9987 #992F76 #99522F
monochromatic
#123B34 #216A5E #2F9987 #41C5AE #6FD3C2

Accessibility & contrast

On white

3.48
#2F9987 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#2F9987 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9987
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9987#FFFFFF#000000##000000
##2F99871.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#939086
Deuteranopia (green-blind)
#848588
Tritanopia (blue-blind)
#009B94
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #2f9987;
/* rgb */ color: rgb(47, 153, 135);
/* oklch */ color: oklch(61.9% 0.099 179.1);
Tailwind
colors: {
  custom: {
    50: '#76b7a9',
    500: '#2f9987',
    950: '#000000',
  },
}
SCSS
$custom: #2f9987;
$custom-light: #76b7a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9987",
  "rgb": {
    "r": 47,
    "g": 153,
    "b": 135
  },
  "hsl": {
    "h": 169.811,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.6187,
    "c": 0.09865,
    "h": 179.1
  },
  "luminance": 0.25136
}

Semantic roles & 50–950 ramp

primary
#2F9987
secondary
#BA6977
accent
#4B64DC
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #2F9987

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

Preview Lab → · Contrast checker → · Palette generator →

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