#2F8977#2F8977

#2F8977 is a mid, moderate teal. Relative luminance 0.198; OKLCH L 57.2% C 0.089 H 177.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2F8977
RGBrgb(47, 137, 119)
HSLhsl(168, 49%, 36%)
HSVhsv(168, 66%, 54%)
CMYKcmyk(65.7%, 0%, 13.1%, 46.3%)
CIE-LABlab(51.64, -31.02, 1.87)
CIE-LCHlch(51.64, 31.08, 176.56°)
OKLaboklab(57.19% -0.0889 0.0045)
OKLCHoklch(57.19% 0.089 177.1)
XYZxyz(13.4461, 19.8261, 20.5674)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8977 #892F41
analogous
#2F894A #2F8977 #2F6E89
triadic
#2F8977 #772F89 #89772F
tetradic
#2F8977 #4A2F89 #892F41 #6E892F
square
#2F8977 #4A2F89 #892F41 #6E892F
split-complementary
#2F8977 #892F6E #894A2F
monochromatic
#102E28 #1F5B4F #2F8977 #3FB79F #67CBB7

Accessibility & contrast

On white

4.23
#2F8977 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#2F8977 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8977
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8977#FFFFFF#000000##000000
##2F89771.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#848176
Deuteranopia (green-blind)
#777778
Tritanopia (blue-blind)
#008B84
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8977;
/* rgb */ color: rgb(47, 137, 119);
/* oklch */ color: oklch(57.2% 0.089 177.1);
Tailwind
colors: {
  custom: {
    50: '#73ac9e',
    500: '#2f8977',
    950: '#000000',
  },
}
SCSS
$custom: #2f8977;
$custom-light: #73ac9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8977",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 119
  },
  "hsl": {
    "h": 168,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57189,
    "c": 0.08906,
    "h": 177.1
  },
  "luminance": 0.19828
}

Semantic roles & 50–950 ramp

primary
#2F8977
secondary
#B26272
accent
#4F6BD8
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #2F8977

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

Preview Lab → · Contrast checker → · Palette generator →

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