#2FA797#2FA797

#2FA797 is a light, moderate teal. Relative luminance 0.305; OKLCH L 66.0% C 0.106 H 182.1°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#2FA797
RGBrgb(47, 167, 151)
HSLhsl(172, 56%, 42%)
HSVhsv(172, 72%, 65%)
CMYKcmyk(71.9%, 0%, 9.6%, 34.5%)
CIE-LABlab(62.06, -36.25, -1.19)
CIE-LCHlch(62.06, 36.27, 181.88°)
OKLaboklab(65.97% -0.1057 -0.0038)
OKLCHoklch(65.97% 0.106 182.1)
XYZxyz(20.5742, 30.4737, 34.0698)
Luminance0.3048 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA797 #A72F3F
analogous
#2FA75B #2FA797 #2F7BA7
triadic
#2FA797 #972FA7 #A7972F
tetradic
#2FA797 #5B2FA7 #A72F3F #7BA72F
square
#2FA797 #5B2FA7 #A72F3F #7BA72F
split-complementary
#2FA797 #A72F7B #A75B2F
monochromatic
#144741 #22776C #2FA797 #48CBBA #78D9CC

Accessibility & contrast

On white

2.96
#2FA797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#2FA797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FA797
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA797#FFFFFF#000000##000000
##2FA7971.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9D96
Deuteranopia (green-blind)
#8E9198
Tritanopia (blue-blind)
#00AAA2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #2fa797;
/* rgb */ color: rgb(47, 167, 151);
/* oklch */ color: oklch(66.0% 0.106 182.1);
Tailwind
colors: {
  custom: {
    50: '#7ac2b5',
    500: '#2fa797',
    950: '#000000',
  },
}
SCSS
$custom: #2fa797;
$custom-light: #7ac2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa797",
  "rgb": {
    "r": 47,
    "g": 167,
    "b": 151
  },
  "hsl": {
    "h": 172,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65974,
    "c": 0.10581,
    "h": 182.1
  },
  "luminance": 0.30476
}

Semantic roles & 50–950 ramp

primary
#2FA797
secondary
#C1717C
accent
#485DDF
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0A1211
muted
#7C8180

Preview Lab

Preview with #2FA797

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

Preview Lab → · Contrast checker → · Palette generator →

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