#2F877D#2F877D

#2F877D is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.9% C 0.084 H 184.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2F877D
RGBrgb(47, 135, 125)
HSLhsl(173, 48%, 36%)
HSVhsv(173, 65%, 53%)
CMYKcmyk(65.2%, 0%, 7.4%, 47.1%)
CIE-LABlab(51.17, -28.40, -2.32)
CIE-LCHlch(51.17, 28.49, 184.67°)
OKLaboklab(56.86% -0.0838 -0.0067)
OKLCHoklch(56.86% 0.084 184.6)
XYZxyz(13.5362, 19.4115, 22.4315)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F877D #872F39
analogous
#2F8751 #2F877D #2F6587
triadic
#2F877D #7D2F87 #877D2F
tetradic
#2F877D #512F87 #872F39 #65872F
square
#2F877D #512F87 #872F39 #65872F
split-complementary
#2F877D #872F65 #87512F
monochromatic
#0F2C29 #1F5A53 #2F877D #3FB4A7 #66CABF

Accessibility & contrast

On white

4.30
#2F877D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2F877D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F877D
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F877D#FFFFFF#000000##000000
##2F877D1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#80807D
Deuteranopia (green-blind)
#73767E
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f877d;
/* rgb */ color: rgb(47, 135, 125);
/* oklch */ color: oklch(56.9% 0.084 184.6);
Tailwind
colors: {
  custom: {
    50: '#73aaa2',
    500: '#2f877d',
    950: '#000000',
  },
}
SCSS
$custom: #2f877d;
$custom-light: #73aaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f877d",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 125
  },
  "hsl": {
    "h": 173.182,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56859,
    "c": 0.08408,
    "h": 184.6
  },
  "luminance": 0.19413
}

Semantic roles & 50–950 ramp

primary
#2F877D
secondary
#B1616A
accent
#505FD8
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100F
muted
#7B7F7E

Preview Lab

Preview with #2F877D

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

Preview Lab → · Contrast checker → · Palette generator →

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