#2F8779#2F8779

#2F8779 is a mid, moderate teal. Relative luminance 0.193; OKLCH L 56.7% C 0.086 H 180.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2F8779
RGBrgb(47, 135, 121)
HSLhsl(170, 48%, 36%)
HSVhsv(170, 65%, 53%)
CMYKcmyk(65.2%, 0%, 10.4%, 47.1%)
CIE-LABlab(51.05, -29.52, -0.16)
CIE-LCHlch(51.05, 29.52, 180.31°)
OKLaboklab(56.73% -0.0857 -0.0009)
OKLCHoklch(56.73% 0.086 180.6)
XYZxyz(13.2858, 19.3113, 21.1127)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8779 #872F3D
analogous
#2F874D #2F8779 #2F6987
triadic
#2F8779 #792F87 #87792F
tetradic
#2F8779 #4D2F87 #872F3D #69872F
square
#2F8779 #4D2F87 #872F3D #69872F
split-complementary
#2F8779 #872F69 #874D2F
monochromatic
#0F2C28 #1F5A50 #2F8779 #3FB4A2 #66CABA

Accessibility & contrast

On white

4.32
#2F8779 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#2F8779 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8779
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8779#FFFFFF#000000##000000
##2F87791.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#817F78
Deuteranopia (green-blind)
#74767A
Tritanopia (blue-blind)
#008983
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8779;
/* rgb */ color: rgb(47, 135, 121);
/* oklch */ color: oklch(56.7% 0.086 180.6);
Tailwind
colors: {
  custom: {
    50: '#73aa9f',
    500: '#2f8779',
    950: '#000000',
  },
}
SCSS
$custom: #2f8779;
$custom-light: #73aa9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8779",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 121
  },
  "hsl": {
    "h": 170.455,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56727,
    "c": 0.08574,
    "h": 180.6
  },
  "luminance": 0.19313
}

Semantic roles & 50–950 ramp

primary
#2F8779
secondary
#B1616E
accent
#5066D8
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #2F8779

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

Preview Lab → · Contrast checker → · Palette generator →

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