#2F7965#2F7965

#2F7965 is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.4% C 0.080 H 172.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2F7965
RGBrgb(47, 121, 101)
HSLhsl(164, 44%, 33%)
HSVhsv(164, 61%, 47%)
CMYKcmyk(61.2%, 0%, 16.5%, 52.5%)
CIE-LABlab(45.93, -28.12, 4.17)
CIE-LCHlch(45.93, 28.43, 171.56°)
OKLaboklab(52.38% -0.0795 0.0106)
OKLCHoklch(52.38% 0.08 172.4)
XYZxyz(10.3575, 15.2176, 14.7009)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7965 #792F43
analogous
#2F7940 #2F7965 #2F6879
triadic
#2F7965 #652F79 #79652F
tetradic
#2F7965 #402F79 #792F43 #68792F
square
#2F7965 #402F79 #792F43 #68792F
split-complementary
#2F7965 #792F68 #79402F
monochromatic
#0D211B #1E4D40 #2F7965 #40A58A #61C2A7

Accessibility & contrast

On white

5.19
#2F7965 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F7965
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7965#FFFFFF#000000##FFFFFF
##2F79651.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f7965;
/* rgb */ color: rgb(47, 121, 101);
/* oklch */ color: oklch(52.4% 0.080 172.4);
Tailwind
colors: {
  custom: {
    50: '#70a090',
    500: '#2f7965',
    950: '#000000',
  },
}
SCSS
$custom: #2f7965;
$custom-light: #70a090;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7965",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 101
  },
  "hsl": {
    "h": 163.784,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52379,
    "c": 0.08023,
    "h": 172.4
  },
  "luminance": 0.15219
}

Semantic roles & 50–950 ramp

primary
#2F7965
secondary
#A85B70
accent
#5477D4
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #2F7965

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

Preview Lab → · Contrast checker → · Palette generator →

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