#2F8161#2F8161

#2F8161 is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.4% C 0.094 H 164.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2F8161
RGBrgb(47, 129, 97)
HSLhsl(157, 47%, 35%)
HSVhsv(157, 64%, 51%)
CMYKcmyk(63.6%, 0%, 24.8%, 49.4%)
CIE-LABlab(48.47, -32.91, 10.13)
CIE-LCHlch(48.47, 34.43, 162.88°)
OKLaboklab(54.42% -0.0908 0.0259)
OKLCHoklch(54.42% 0.094 164.1)
XYZxyz(11.1791, 17.1668, 14.0313)
Luminance0.1717 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8161 #812F4F
analogous
#2F8138 #2F8161 #2F7881
triadic
#2F8161 #612F81 #81612F
tetradic
#2F8161 #382F81 #812F4F #78812F
square
#2F8161 #382F81 #812F4F #78812F
split-complementary
#2F8161 #812F78 #81382F
monochromatic
#0E271E #1F543F #2F8161 #3FAE83 #64C6A0

Accessibility & contrast

On white

4.74
#2F8161 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2F8161 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8161
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8161#FFFFFF#000000##FFFFFF
##2F81611.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F785F
Deuteranopia (green-blind)
#737063
Tritanopia (blue-blind)
#008178
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8161;
/* rgb */ color: rgb(47, 129, 97);
/* oklch */ color: oklch(54.4% 0.094 164.1);
Tailwind
colors: {
  custom: {
    50: '#71a68e',
    500: '#2f8161',
    950: '#000000',
  },
}
SCSS
$custom: #2f8161;
$custom-light: #71a68e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8161",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 97
  },
  "hsl": {
    "h": 156.585,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54417,
    "c": 0.09447,
    "h": 164.1
  },
  "luminance": 0.17168
}

Semantic roles & 50–950 ramp

primary
#2F8161
secondary
#AD5E7D
accent
#5285D6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #2F8161

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

Preview Lab → · Contrast checker → · Palette generator →

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