#2F7972#2F7972

#2F7972 is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.8% C 0.074 H 186.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2F7972
RGBrgb(47, 121, 114)
HSLhsl(174, 44%, 33%)
HSVhsv(174, 61%, 47%)
CMYKcmyk(61.2%, 0%, 5.8%, 52.5%)
CIE-LABlab(46.30, -24.54, -3.00)
CIE-LCHlch(46.30, 24.73, 186.98°)
OKLaboklab(52.8% -0.0731 -0.0085)
OKLCHoklch(52.8% 0.074 186.6)
XYZxyz(11.0456, 15.4929, 18.3246)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7972 #792F36
analogous
#2F794D #2F7972 #2F5B79
triadic
#2F7972 #722F79 #79722F
tetradic
#2F7972 #4D2F79 #792F36 #5B792F
square
#2F7972 #4D2F79 #792F36 #5B792F
split-complementary
#2F7972 #792F5B #794D2F
monochromatic
#0D211F #1E4D48 #2F7972 #40A59C #61C2B8

Accessibility & contrast

On white

5.12
#2F7972 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2F7972 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7972
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7972#FFFFFF#000000##FFFFFF
##2F79721.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737372
Deuteranopia (green-blind)
#676A73
Tritanopia (blue-blind)
#007C77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f7972;
/* rgb */ color: rgb(47, 121, 114);
/* oklch */ color: oklch(52.8% 0.074 186.6);
Tailwind
colors: {
  custom: {
    50: '#70a09a',
    500: '#2f7972',
    950: '#000000',
  },
}
SCSS
$custom: #2f7972;
$custom-light: #70a09a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7972",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 114
  },
  "hsl": {
    "h": 174.324,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52803,
    "c": 0.07362,
    "h": 186.6
  },
  "luminance": 0.15494
}

Semantic roles & 50–950 ramp

primary
#2F7972
secondary
#A85B63
accent
#5460D4
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2F7972

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

Preview Lab → · Contrast checker → · Palette generator →

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