#2FB797#2FB797

#2FB797 is a light, vivid teal. Relative luminance 0.367; OKLCH L 70.1% C 0.123 H 172.8°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#2FB797
RGBrgb(47, 183, 151)
HSLhsl(166, 59%, 45%)
HSVhsv(166, 74%, 72%)
CMYKcmyk(74.3%, 0%, 17.5%, 28.2%)
CIE-LABlab(67.05, -43.33, 6.05)
CIE-LCHlch(67.05, 43.75, 172.05°)
OKLaboklab(70.05% -0.122 0.0153)
OKLCHoklch(70.05% 0.123 172.8)
XYZxyz(23.6888, 36.7028, 35.1080)
Luminance0.3671 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB797 #B72F4F
analogous
#2FB753 #2FB797 #2F93B7
triadic
#2FB797 #972FB7 #B7972F
tetradic
#2FB797 #532FB7 #B72F4F #93B72F
square
#2FB797 #532FB7 #B72F4F #93B72F
split-complementary
#2FB797 #B72F93 #B7532F
monochromatic
#165647 #22866F #2FB797 #51D2B4 #82DFC9

Accessibility & contrast

On white

2.52
#2FB797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#2FB797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB797
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB797#FFFFFF#000000##000000
##2FB7971.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1AB95
Deuteranopia (green-blind)
#9F9E99
Tritanopia (blue-blind)
#00B9AE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #2fb797;
/* rgb */ color: rgb(47, 183, 151);
/* oklch */ color: oklch(70.1% 0.123 172.8);
Tailwind
colors: {
  custom: {
    50: '#7ccdb5',
    500: '#2fb797',
    950: '#000000',
  },
}
SCSS
$custom: #2fb797;
$custom-light: #7ccdb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb797",
  "rgb": {
    "r": 47,
    "g": 183,
    "b": 151
  },
  "hsl": {
    "h": 165.882,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70052,
    "c": 0.12299,
    "h": 172.8
  },
  "luminance": 0.36706
}

Semantic roles & 50–950 ramp

primary
#2FB797
secondary
#C87A8C
accent
#456AE2
background
#F8FCFB
surface
#EFF9F6
border
#CAD2D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #2FB797

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

Preview Lab → · Contrast checker → · Palette generator →

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