#2FC797#2FC797

#2FC797 is a light, vivid teal. Relative luminance 0.437; OKLCH L 74.1% C 0.142 H 166.3°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#2FC797
RGBrgb(47, 199, 151)
HSLhsl(161, 62%, 48%)
HSVhsv(161, 76%, 78%)
CMYKcmyk(76.4%, 0%, 24.1%, 22%)
CIE-LABlab(72.02, -49.97, 13.11)
CIE-LCHlch(72.02, 51.66, 165.30°)
OKLaboklab(74.12% -0.1379 0.0335)
OKLCHoklch(74.12% 0.142 166.3)
XYZxyz(27.1785, 43.6823, 36.2713)
Luminance0.4369 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FC797 #C72F5F
analogous
#2FC74B #2FC797 #2FABC7
triadic
#2FC797 #972FC7 #C7972F
tetradic
#2FC797 #4B2FC7 #C72F5F #ABC72F
square
#2FC797 #4B2FC7 #C72F5F #ABC72F
split-complementary
#2FC797 #C72FAB #C74B2F
monochromatic
#18644C #239571 #2FC797 #5BD8B1 #8CE4C8

Accessibility & contrast

On white

2.16
#2FC797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#2FC797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FC797
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FC797#FFFFFF#000000##000000
##2FC7971.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B994
Deuteranopia (green-blind)
#B0AB9A
Tritanopia (blue-blind)
#00C8BA
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #2fc797;
/* rgb */ color: rgb(47, 199, 151);
/* oklch */ color: oklch(74.1% 0.142 166.3);
Tailwind
colors: {
  custom: {
    50: '#7fd9b5',
    500: '#2fc797',
    950: '#000000',
  },
}
SCSS
$custom: #2fc797;
$custom-light: #7fd9b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2fc797",
  "rgb": {
    "r": 47,
    "g": 199,
    "b": 151
  },
  "hsl": {
    "h": 161.053,
    "s": 61.789,
    "l": 48.235
  },
  "oklch": {
    "l": 0.74121,
    "c": 0.14189,
    "h": 166.3
  },
  "luminance": 0.43686
}

Semantic roles & 50–950 ramp

primary
#2FC797
secondary
#CE849B
accent
#4376E5
background
#F8FDFB
surface
#F0FBF6
border
#CBD4D0
text
#0C1511
muted
#7D8380

Preview Lab

Preview with #2FC797

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

Preview Lab → · Contrast checker → · Palette generator →

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