#2F8873#2F8873

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

Color values

HEX#2F8873
RGBrgb(47, 136, 115)
HSLhsl(166, 49%, 36%)
HSVhsv(166, 65%, 53%)
CMYKcmyk(65.4%, 0%, 15.4%, 46.7%)
CIE-LABlab(51.21, -31.62, 3.57)
CIE-LCHlch(51.21, 31.82, 173.57°)
OKLaboklab(56.8% -0.0898 0.009)
OKLCHoklch(56.8% 0.09 174.3)
XYZxyz(13.0695, 19.4491, 19.2816)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8873 #882F44
analogous
#2F8846 #2F8873 #2F7088
triadic
#2F8873 #732F88 #88732F
tetradic
#2F8873 #462F88 #882F44 #70882F
square
#2F8873 #462F88 #882F44 #70882F
split-complementary
#2F8873 #882F70 #88462F
monochromatic
#102D26 #1F5B4D #2F8873 #3FB599 #67CAB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8873#FFFFFF#000000##000000
##2F88731.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)
#837F72
Deuteranopia (green-blind)
#777675
Tritanopia (blue-blind)
#008A82
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8873;
/* rgb */ color: rgb(47, 136, 115);
/* oklch */ color: oklch(56.8% 0.090 174.3);
Tailwind
colors: {
  custom: {
    50: '#73ab9b',
    500: '#2f8873',
    950: '#000000',
  },
}
SCSS
$custom: #2f8873;
$custom-light: #73ab9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8873",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 115
  },
  "hsl": {
    "h": 165.843,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56802,
    "c": 0.09023,
    "h": 174.3
  },
  "luminance": 0.1945
}

Semantic roles & 50–950 ramp

primary
#2F8873
secondary
#B16174
accent
#5070D8
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #2F8873

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

Preview Lab → · Contrast checker → · Palette generator →

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