#2FB798#2FB798

#2FB798 is a light, vivid teal. Relative luminance 0.367; OKLCH L 70.1% C 0.122 H 173.4°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#2FB798
RGBrgb(47, 183, 152)
HSLhsl(166, 59%, 45%)
HSVhsv(166, 74%, 72%)
CMYKcmyk(74.3%, 0%, 16.9%, 28.2%)
CIE-LABlab(67.08, -43.08, 5.54)
CIE-LCHlch(67.08, 43.43, 172.68°)
OKLaboklab(70.08% -0.1216 0.014)
OKLCHoklch(70.08% 0.122 173.4)
XYZxyz(23.7703, 36.7355, 35.5376)
Luminance0.3674 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB798 #B72F4E
analogous
#2FB754 #2FB798 #2F92B7
triadic
#2FB798 #982FB7 #B7982F
tetradic
#2FB798 #542FB7 #B72F4E #92B72F
square
#2FB798 #542FB7 #B72F4E #92B72F
split-complementary
#2FB798 #B72F92 #B7542F
monochromatic
#165647 #228670 #2FB798 #51D2B5 #82DFCA

Accessibility & contrast

On white

2.52
#2FB798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#2FB798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB798
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB798#FFFFFF#000000##000000
##2FB7981.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1AB97
Deuteranopia (green-blind)
#9F9E9A
Tritanopia (blue-blind)
#00B9AE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #2fb798;
/* rgb */ color: rgb(47, 183, 152);
/* oklch */ color: oklch(70.1% 0.122 173.4);
Tailwind
colors: {
  custom: {
    50: '#7ccdb6',
    500: '#2fb798',
    950: '#000000',
  },
}
SCSS
$custom: #2fb798;
$custom-light: #7ccdb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb798",
  "rgb": {
    "r": 47,
    "g": 183,
    "b": 152
  },
  "hsl": {
    "h": 166.324,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70081,
    "c": 0.12236,
    "h": 173.4
  },
  "luminance": 0.36738
}

Semantic roles & 50–950 ramp

primary
#2FB798
secondary
#C87A8C
accent
#4569E2
background
#F8FCFB
surface
#EFF9F6
border
#CAD2D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #2FB798

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

Preview Lab → · Contrast checker → · Palette generator →

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