#2F7964#2F7964

#2F7964 is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.3% C 0.081 H 171.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2F7964
RGBrgb(47, 121, 100)
HSLhsl(163, 44%, 33%)
HSVhsv(163, 61%, 47%)
CMYKcmyk(61.2%, 0%, 17.4%, 52.5%)
CIE-LABlab(45.90, -28.38, 4.73)
CIE-LCHlch(45.90, 28.77, 170.54°)
OKLaboklab(52.35% -0.08 0.0121)
OKLCHoklch(52.35% 0.081 171.4)
XYZxyz(10.3088, 15.1982, 14.4444)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7964 #792F44
analogous
#2F793F #2F7964 #2F6979
triadic
#2F7964 #642F79 #79642F
tetradic
#2F7964 #3F2F79 #792F44 #69792F
square
#2F7964 #3F2F79 #792F44 #69792F
split-complementary
#2F7964 #792F69 #793F2F
monochromatic
#0D211B #1E4D40 #2F7964 #40A588 #61C2A6

Accessibility & contrast

On white

5.20
#2F7964 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2F7964 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7964
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7964#FFFFFF#000000##FFFFFF
##2F79641.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757163
Deuteranopia (green-blind)
#6B6965
Tritanopia (blue-blind)
#007A73
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f7964;
/* rgb */ color: rgb(47, 121, 100);
/* oklch */ color: oklch(52.3% 0.081 171.4);
Tailwind
colors: {
  custom: {
    50: '#70a090',
    500: '#2f7964',
    950: '#000000',
  },
}
SCSS
$custom: #2f7964;
$custom-light: #70a090;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7964",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 100
  },
  "hsl": {
    "h": 162.973,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52349,
    "c": 0.08093,
    "h": 171.4
  },
  "luminance": 0.15199
}

Semantic roles & 50–950 ramp

primary
#2F7964
secondary
#A85B71
accent
#5478D4
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #2F7964

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

Preview Lab → · Contrast checker → · Palette generator →

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