#2FAB7B#2FAB7B

#2FAB7B is a light, vivid teal. Relative luminance 0.312; OKLCH L 66.2% C 0.129 H 162.5°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#2FAB7B
RGBrgb(47, 171, 123)
HSLhsl(157, 57%, 43%)
HSVhsv(157, 73%, 67%)
CMYKcmyk(72.5%, 0%, 28.1%, 32.9%)
CIE-LABlab(62.64, -45.04, 15.23)
CIE-LCHlch(62.64, 47.55, 161.32°)
OKLaboklab(66.22% -0.1233 0.0388)
OKLCHoklch(66.22% 0.129 162.5)
XYZxyz(19.3083, 31.1580, 23.7315)
Luminance0.3116 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FAB7B #AB2F5F
analogous
#2FAB3D #2FAB7B #2F9DAB
triadic
#2FAB7B #7B2FAB #AB7B2F
tetradic
#2FAB7B #3D2FAB #AB2F5F #9DAB2F
square
#2FAB7B #3D2FAB #AB2F5F #9DAB2F
split-complementary
#2FAB7B #AB2F9D #AB3D2F
monochromatic
#154B36 #227B58 #2FAB7B #4ACD9A #7ADAB5

Accessibility & contrast

On white

2.90
#2FAB7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#2FAB7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FAB7B
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FAB7B#FFFFFF#000000##000000
##2FAB7B1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89E78
Deuteranopia (green-blind)
#98937E
Tritanopia (blue-blind)
#00AB9E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #2fab7b;
/* rgb */ color: rgb(47, 171, 123);
/* oklch */ color: oklch(66.2% 0.129 162.5);
Tailwind
colors: {
  custom: {
    50: '#79c5a1',
    500: '#2fab7b',
    950: '#000000',
  },
}
SCSS
$custom: #2fab7b;
$custom-light: #79c5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2fab7b",
  "rgb": {
    "r": 47,
    "g": 171,
    "b": 123
  },
  "hsl": {
    "h": 156.774,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66223,
    "c": 0.12925,
    "h": 162.5
  },
  "luminance": 0.3116
}

Semantic roles & 50–950 ramp

primary
#2FAB7B
secondary
#C37392
accent
#4883E0
background
#F7FCF9
surface
#EEF8F2
border
#C9D1CC
text
#0A130F
muted
#7C827E

Preview Lab

Preview with #2FAB7B

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

Preview Lab → · Contrast checker → · Palette generator →

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