#2F897F#2F897F

#2F897F is a mid, moderate teal. Relative luminance 0.200; OKLCH L 57.4% C 0.085 H 184.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2F897F
RGBrgb(47, 137, 127)
HSLhsl(173, 49%, 36%)
HSVhsv(173, 66%, 54%)
CMYKcmyk(65.7%, 0%, 7.3%, 46.3%)
CIE-LABlab(51.87, -28.81, -2.45)
CIE-LCHlch(51.87, 28.91, 184.87°)
OKLaboklab(57.45% -0.0851 -0.0071)
OKLCHoklch(57.45% 0.085 184.8)
XYZxyz(13.9470, 20.0264, 23.2050)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F897F #892F39
analogous
#2F8952 #2F897F #2F6689
triadic
#2F897F #7F2F89 #897F2F
tetradic
#2F897F #522F89 #892F39 #66892F
square
#2F897F #522F89 #892F39 #66892F
split-complementary
#2F897F #892F66 #89522F
monochromatic
#102E2B #1F5B55 #2F897F #3FB7A9 #67CBC0

Accessibility & contrast

On white

4.20
#2F897F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#2F897F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F897F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F897F#FFFFFF#000000##000000
##2F897F1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#82817F
Deuteranopia (green-blind)
#757880
Tritanopia (blue-blind)
#008C86
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f897f;
/* rgb */ color: rgb(47, 137, 127);
/* oklch */ color: oklch(57.4% 0.085 184.8);
Tailwind
colors: {
  custom: {
    50: '#73aca4',
    500: '#2f897f',
    950: '#000000',
  },
}
SCSS
$custom: #2f897f;
$custom-light: #73aca4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f897f",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 127
  },
  "hsl": {
    "h": 173.333,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57449,
    "c": 0.08537,
    "h": 184.8
  },
  "luminance": 0.20028
}

Semantic roles & 50–950 ramp

primary
#2F897F
secondary
#B2626B
accent
#4F5FD8
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #2F897F

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

Preview Lab → · Contrast checker → · Palette generator →

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