#2FA787#2FA787

#2FA787 is a light, moderate teal. Relative luminance 0.300; OKLCH L 65.5% C 0.115 H 170.8°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2FA787
RGBrgb(47, 167, 135)
HSLhsl(164, 56%, 42%)
HSVhsv(164, 72%, 65%)
CMYKcmyk(71.9%, 0%, 19.2%, 34.5%)
CIE-LABlab(61.64, -40.48, 7.17)
CIE-LCHlch(61.64, 41.11, 169.96°)
OKLaboklab(65.5% -0.1134 0.0183)
OKLCHoklch(65.5% 0.115 170.8)
XYZxyz(19.3619, 29.9888, 27.6850)
Luminance0.2999 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA787 #A72F4F
analogous
#2FA74B #2FA787 #2F8BA7
triadic
#2FA787 #872FA7 #A7872F
tetradic
#2FA787 #4B2FA7 #A72F4F #8BA72F
square
#2FA787 #4B2FA7 #A72F4F #8BA72F
split-complementary
#2FA787 #A72F8B #A74B2F
monochromatic
#14473A #227760 #2FA787 #48CBA8 #78D9BF

Accessibility & contrast

On white

3.00
#2FA787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#2FA787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FA787
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA787#FFFFFF#000000##000000
##2FA7871.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29C85
Deuteranopia (green-blind)
#929089
Tritanopia (blue-blind)
#00A89E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #2fa787;
/* rgb */ color: rgb(47, 167, 135);
/* oklch */ color: oklch(65.5% 0.115 170.8);
Tailwind
colors: {
  custom: {
    50: '#79c2aa',
    500: '#2fa787',
    950: '#000000',
  },
}
SCSS
$custom: #2fa787;
$custom-light: #79c2aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa787",
  "rgb": {
    "r": 47,
    "g": 167,
    "b": 135
  },
  "hsl": {
    "h": 164,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65496,
    "c": 0.11483,
    "h": 170.8
  },
  "luminance": 0.29991
}

Semantic roles & 50–950 ramp

primary
#2FA787
secondary
#C17186
accent
#4871DF
background
#F7FCFA
surface
#EEF8F4
border
#C9D1CE
text
#0A1210
muted
#7C817F

Preview Lab

Preview with #2FA787

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

Preview Lab → · Contrast checker → · Palette generator →

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