#2EC798#2EC798

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

Color values

HEX#2EC798
RGBrgb(46, 199, 152)
HSLhsl(162, 62%, 48%)
HSVhsv(162, 77%, 78%)
CMYKcmyk(76.9%, 0%, 23.6%, 22%)
CIE-LABlab(72.02, -49.85, 12.58)
CIE-LCHlch(72.02, 51.41, 165.84°)
OKLaboklab(74.13% -0.1377 0.0321)
OKLCHoklch(74.13% 0.141 166.9)
XYZxyz(27.2145, 43.6914, 36.6986)
Luminance0.4370 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EC798 #C72E5D
analogous
#2EC74C #2EC798 #2EA9C7
triadic
#2EC798 #982EC7 #C7982E
tetradic
#2EC798 #4C2EC7 #C72E5D #A9C72E
square
#2EC798 #4C2EC7 #C72E5D #A9C72E
split-complementary
#2EC798 #C72EA9 #C74C2E
monochromatic
#17644C #239572 #2EC798 #59D9B2 #8BE4C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2EC798#FFFFFF#000000##000000
##2EC7981.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)
#C2B995
Deuteranopia (green-blind)
#AFAB9B
Tritanopia (blue-blind)
#00C8BA
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #2ec798;
/* rgb */ color: rgb(46, 199, 152);
/* oklch */ color: oklch(74.1% 0.141 166.9);
Tailwind
colors: {
  custom: {
    50: '#7fd9b6',
    500: '#2ec798',
    950: '#000000',
  },
}
SCSS
$custom: #2ec798;
$custom-light: #7fd9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2ec798",
  "rgb": {
    "r": 46,
    "g": 199,
    "b": 152
  },
  "hsl": {
    "h": 161.569,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.74129,
    "c": 0.14143,
    "h": 166.9
  },
  "luminance": 0.43695
}

Semantic roles & 50–950 ramp

primary
#2EC798
secondary
#CE839A
accent
#4274E6
background
#F8FDFB
surface
#F0FBF6
border
#CBD4D0
text
#0C1511
muted
#7D8380

Preview Lab

Preview with #2EC798

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

Preview Lab → · Contrast checker → · Palette generator →

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