#2F7979#2F7979

#2F7979 is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.1% C 0.072 H 195.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2F7979
RGBrgb(47, 121, 121)
HSLhsl(180, 44%, 33%)
HSVhsv(180, 61%, 47%)
CMYKcmyk(61.2%, 0%, 0%, 52.5%)
CIE-LABlab(46.52, -22.49, -6.84)
CIE-LCHlch(46.52, 23.50, 196.91°)
OKLaboklab(53.06% -0.0698 -0.019)
OKLCHoklch(53.06% 0.072 195.2)
XYZxyz(11.4594, 15.6584, 20.5039)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7979 #792F2F
analogous
#2F7954 #2F7979 #2F5479
triadic
#2F7979 #792F79 #79792F
tetradic
#2F7979 #542F79 #792F2F #54792F
square
#2F7979 #542F79 #792F2F #54792F
split-complementary
#2F7979 #792F54 #79542F
monochromatic
#0D2121 #1E4D4D #2F7979 #40A5A5 #61C2C2

Accessibility & contrast

On white

5.08
#2F7979 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2F7979 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7979
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7979#FFFFFF#000000##FFFFFF
##2F79791.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717379
Deuteranopia (green-blind)
#656B7A
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f7979;
/* rgb */ color: rgb(47, 121, 121);
/* oklch */ color: oklch(53.1% 0.072 195.2);
Tailwind
colors: {
  custom: {
    50: '#71a09f',
    500: '#2f7979',
    950: '#000000',
  },
}
SCSS
$custom: #2f7979;
$custom-light: #71a09f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7979",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 121
  },
  "hsl": {
    "h": 180,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53056,
    "c": 0.07233,
    "h": 195.2
  },
  "luminance": 0.1566
}

Semantic roles & 50–950 ramp

primary
#2F7979
secondary
#A85B5B
accent
#5454D4
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2F7979

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

Preview Lab → · Contrast checker → · Palette generator →

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