#2FA871#2FA871

#2FA871 is a light, vivid teal. Relative luminance 0.298; OKLCH L 65.2% C 0.134 H 158.9°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#2FA871
RGBrgb(47, 168, 113)
HSLhsl(153, 56%, 42%)
HSVhsv(153, 72%, 66%)
CMYKcmyk(72%, 0%, 32.7%, 34.1%)
CIE-LABlab(61.48, -46.02, 19.12)
CIE-LCHlch(61.48, 49.84, 157.44°)
OKLaboklab(65.2% -0.125 0.0483)
OKLCHoklch(65.2% 0.134 158.9)
XYZxyz(18.1538, 29.7998, 20.4148)
Luminance0.2980 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA871 #A82F66
analogous
#2FA834 #2FA871 #2FA3A8
triadic
#2FA871 #712FA8 #A8712F
tetradic
#2FA871 #342FA8 #A82F66 #A3A82F
square
#2FA871 #342FA8 #A82F66 #A3A82F
split-complementary
#2FA871 #A82FA3 #A8342F
monochromatic
#144831 #227851 #2FA871 #48CC90 #78D9AD

Accessibility & contrast

On white

3.02
#2FA871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#2FA871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA871
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA871#FFFFFF#000000##000000
##2FA8711.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69B6E
Deuteranopia (green-blind)
#979075
Tritanopia (blue-blind)
#00A79A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #2fa871;
/* rgb */ color: rgb(47, 168, 113);
/* oklch */ color: oklch(65.2% 0.134 158.9);
Tailwind
colors: {
  custom: {
    50: '#78c39a',
    500: '#2fa871',
    950: '#000000',
  },
}
SCSS
$custom: #2fa871;
$custom-light: #78c39a;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa871",
  "rgb": {
    "r": 47,
    "g": 168,
    "b": 113
  },
  "hsl": {
    "h": 152.727,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65203,
    "c": 0.13407,
    "h": 158.9
  },
  "luminance": 0.29802
}

Semantic roles & 50–950 ramp

primary
#2FA871
secondary
#C17196
accent
#488DE0
background
#F7FCF9
surface
#EEF8F2
border
#C9D1CC
text
#0A120E
muted
#7C817E

Preview Lab

Preview with #2FA871

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

Preview Lab → · Contrast checker → · Palette generator →

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