#2F8878#2F8878

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

Color values

HEX#2F8878
RGBrgb(47, 136, 120)
HSLhsl(169, 49%, 36%)
HSVhsv(169, 65%, 53%)
CMYKcmyk(65.4%, 0%, 11.8%, 46.7%)
CIE-LABlab(51.34, -30.27, 0.86)
CIE-LCHlch(51.34, 30.29, 178.38°)
OKLaboklab(56.96% -0.0873 0.0018)
OKLCHoklch(56.96% 0.087 178.8)
XYZxyz(13.3650, 19.5673, 20.8382)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8878 #882F3F
analogous
#2F884B #2F8878 #2F6B88
triadic
#2F8878 #782F88 #88782F
tetradic
#2F8878 #4B2F88 #882F3F #6B882F
square
#2F8878 #4B2F88 #882F3F #6B882F
split-complementary
#2F8878 #882F6B #884B2F
monochromatic
#102D28 #1F5B50 #2F8878 #3FB5A0 #67CAB9

Accessibility & contrast

On white

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

On black

4.91
#2F8878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8878
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8878#FFFFFF#000000##000000
##2F88781.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#828077
Deuteranopia (green-blind)
#757679
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8878;
/* rgb */ color: rgb(47, 136, 120);
/* oklch */ color: oklch(57.0% 0.087 178.8);
Tailwind
colors: {
  custom: {
    50: '#73ab9e',
    500: '#2f8878',
    950: '#000000',
  },
}
SCSS
$custom: #2f8878;
$custom-light: #73ab9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8878",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 120
  },
  "hsl": {
    "h": 169.213,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56958,
    "c": 0.08736,
    "h": 178.8
  },
  "luminance": 0.19569
}

Semantic roles & 50–950 ramp

primary
#2F8878
secondary
#B16170
accent
#5068D8
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #2F8878

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

Preview Lab → · Contrast checker → · Palette generator →

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