#2F8879#2F8879

#2F8879 is a mid, moderate teal. Relative luminance 0.196; OKLCH L 57.0% C 0.087 H 179.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2F8879
RGBrgb(47, 136, 121)
HSLhsl(170, 49%, 36%)
HSVhsv(170, 65%, 53%)
CMYKcmyk(65.4%, 0%, 11%, 46.7%)
CIE-LABlab(51.37, -30.00, 0.31)
CIE-LCHlch(51.37, 30.00, 179.40°)
OKLaboklab(56.99% -0.0868 0.0003)
OKLCHoklch(56.99% 0.087 179.8)
XYZxyz(13.4260, 19.5917, 21.1595)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8879 #882F3E
analogous
#2F884C #2F8879 #2F6A88
triadic
#2F8879 #792F88 #88792F
tetradic
#2F8879 #4C2F88 #882F3E #6A882F
square
#2F8879 #4C2F88 #882F3E #6A882F
split-complementary
#2F8879 #882F6A #884C2F
monochromatic
#102D28 #1F5B51 #2F8879 #3FB5A1 #67CABA

Accessibility & contrast

On white

4.27
#2F8879 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#2F8879 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8879
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8879#FFFFFF#000000##000000
##2F88791.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#828078
Deuteranopia (green-blind)
#75767A
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8879;
/* rgb */ color: rgb(47, 136, 121);
/* oklch */ color: oklch(57.0% 0.087 179.8);
Tailwind
colors: {
  custom: {
    50: '#73ab9f',
    500: '#2f8879',
    950: '#000000',
  },
}
SCSS
$custom: #2f8879;
$custom-light: #73ab9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8879",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 121
  },
  "hsl": {
    "h": 169.888,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5699,
    "c": 0.08685,
    "h": 179.8
  },
  "luminance": 0.19593
}

Semantic roles & 50–950 ramp

primary
#2F8879
secondary
#B1616F
accent
#5067D8
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #2F8879

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

Preview Lab → · Contrast checker → · Palette generator →

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