#2F8778#2F8778

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

Color values

HEX#2F8778
RGBrgb(47, 135, 120)
HSLhsl(170, 48%, 36%)
HSVhsv(170, 65%, 53%)
CMYKcmyk(65.2%, 0%, 11.1%, 47.1%)
CIE-LABlab(51.02, -29.79, 0.38)
CIE-LCHlch(51.02, 29.80, 179.26°)
OKLaboklab(56.69% -0.0862 0.0005)
OKLCHoklch(56.69% 0.086 179.6)
XYZxyz(13.2248, 19.2869, 20.7914)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8778 #872F3E
analogous
#2F874C #2F8778 #2F6A87
triadic
#2F8778 #782F87 #87782F
tetradic
#2F8778 #4C2F87 #872F3E #6A872F
square
#2F8778 #4C2F87 #872F3E #6A872F
split-complementary
#2F8778 #872F6A #874C2F
monochromatic
#0F2C27 #1F5A50 #2F8778 #3FB4A0 #66CAB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8778#FFFFFF#000000##000000
##2F87781.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)
#817F77
Deuteranopia (green-blind)
#747679
Tritanopia (blue-blind)
#008982
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8778;
/* rgb */ color: rgb(47, 135, 120);
/* oklch */ color: oklch(56.7% 0.086 179.6);
Tailwind
colors: {
  custom: {
    50: '#73aa9e',
    500: '#2f8778',
    950: '#000000',
  },
}
SCSS
$custom: #2f8778;
$custom-light: #73aa9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8778",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 120
  },
  "hsl": {
    "h": 169.773,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56695,
    "c": 0.08622,
    "h": 179.6
  },
  "luminance": 0.19288
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8778

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

Preview Lab → · Contrast checker → · Palette generator →

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