#2F877F#2F877F

#2F877F is a mid, moderate teal. Relative luminance 0.195; OKLCH L 56.9% C 0.083 H 186.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2F877F
RGBrgb(47, 135, 127)
HSLhsl(175, 48%, 36%)
HSVhsv(175, 65%, 53%)
CMYKcmyk(65.2%, 0%, 5.9%, 47.1%)
CIE-LABlab(51.22, -27.82, -3.40)
CIE-LCHlch(51.22, 28.03, 186.96°)
OKLaboklab(56.93% -0.0828 -0.0096)
OKLCHoklch(56.93% 0.083 186.6)
XYZxyz(13.6653, 19.4631, 23.1111)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F877F #872F37
analogous
#2F8753 #2F877F #2F6387
triadic
#2F877F #7F2F87 #877F2F
tetradic
#2F877F #532F87 #872F37 #63872F
square
#2F877F #532F87 #872F37 #63872F
split-complementary
#2F877F #872F63 #87532F
monochromatic
#0F2C2A #1F5A54 #2F877F #3FB4AA #66CAC1

Accessibility & contrast

On white

4.29
#2F877F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#2F877F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F877F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F877F#FFFFFF#000000##000000
##2F877F1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#80807F
Deuteranopia (green-blind)
#737680
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f877f;
/* rgb */ color: rgb(47, 135, 127);
/* oklch */ color: oklch(56.9% 0.083 186.6);
Tailwind
colors: {
  custom: {
    50: '#73aaa4',
    500: '#2f877f',
    950: '#000000',
  },
}
SCSS
$custom: #2f877f;
$custom-light: #73aaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f877f",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 127
  },
  "hsl": {
    "h": 174.545,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56927,
    "c": 0.08341,
    "h": 186.6
  },
  "luminance": 0.19465
}

Semantic roles & 50–950 ramp

primary
#2F877F
secondary
#B16168
accent
#505CD8
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #2F877F

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

Preview Lab → · Contrast checker → · Palette generator →

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