#2F7960#2F7960

#2F7960 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.2% C 0.084 H 167.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2F7960
RGBrgb(47, 121, 96)
HSLhsl(160, 44%, 33%)
HSVhsv(160, 61%, 47%)
CMYKcmyk(61.2%, 0%, 20.7%, 52.5%)
CIE-LABlab(45.80, -29.40, 6.95)
CIE-LCHlch(45.80, 30.21, 166.70°)
OKLaboklab(52.23% -0.082 0.0178)
OKLCHoklch(52.23% 0.084 167.8)
XYZxyz(10.1200, 15.1226, 13.4497)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7960 #792F48
analogous
#2F793B #2F7960 #2F6D79
triadic
#2F7960 #602F79 #79602F
tetradic
#2F7960 #3B2F79 #792F48 #6D792F
square
#2F7960 #3B2F79 #792F48 #6D792F
split-complementary
#2F7960 #792F6D #793B2F
monochromatic
#0D211A #1E4D3D #2F7960 #40A583 #61C2A1

Accessibility & contrast

On white

5.22
#2F7960 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2F7960 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7960
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7960#FFFFFF#000000##FFFFFF
##2F79601.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76715F
Deuteranopia (green-blind)
#6B6962
Tritanopia (blue-blind)
#007A72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f7960;
/* rgb */ color: rgb(47, 121, 96);
/* oklch */ color: oklch(52.2% 0.084 167.8);
Tailwind
colors: {
  custom: {
    50: '#6fa08d',
    500: '#2f7960',
    950: '#000000',
  },
}
SCSS
$custom: #2f7960;
$custom-light: #6fa08d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7960",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 96
  },
  "hsl": {
    "h": 159.73,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52231,
    "c": 0.08396,
    "h": 167.8
  },
  "luminance": 0.15124
}

Semantic roles & 50–950 ramp

primary
#2F7960
secondary
#A85B75
accent
#547FD4
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #2F7960

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

Preview Lab → · Contrast checker → · Palette generator →

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