#2A9786#2A9786

#2A9786 is a mid, moderate teal. Relative luminance 0.243; OKLCH L 61.2% C 0.099 H 180.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2A9786
RGBrgb(42, 151, 134)
HSLhsl(171, 56%, 38%)
HSVhsv(171, 72%, 59%)
CMYKcmyk(72.2%, 0%, 11.3%, 40.8%)
CIE-LABlab(56.43, -34.28, 0.19)
CIE-LCHlch(56.43, 34.29, 179.69°)
OKLaboklab(61.2% -0.0992 -0.0001)
OKLCHoklch(61.2% 0.099 180)
XYZxyz(16.3224, 24.3448, 26.3884)
Luminance0.2435 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9786 #972A3B
analogous
#2A974F #2A9786 #2A7297
triadic
#2A9786 #862A97 #97862A
tetradic
#2A9786 #4F2A97 #972A3B #72972A
square
#2A9786 #4F2A97 #972A3B #72972A
split-complementary
#2A9786 #972A72 #974F2A
monochromatic
#0F3731 #1D675C #2A9786 #37C7B0 #67D5C4

Accessibility & contrast

On white

3.58
#2A9786 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#2A9786 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9786
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9786#FFFFFF#000000##000000
##2A97861.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#908E85
Deuteranopia (green-blind)
#818387
Tritanopia (blue-blind)
#009A92
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2a9786;
/* rgb */ color: rgb(42, 151, 134);
/* oklch */ color: oklch(61.2% 0.099 180.0);
Tailwind
colors: {
  custom: {
    50: '#74b6a9',
    500: '#2a9786',
    950: '#000000',
  },
}
SCSS
$custom: #2a9786;
$custom-light: #74b6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9786",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 134
  },
  "hsl": {
    "h": 170.642,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61198,
    "c": 0.09919,
    "h": 180
  },
  "luminance": 0.24347
}

Semantic roles & 50–950 ramp

primary
#2A9786
secondary
#BB6270
accent
#4860E0
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#09110F
muted
#7B807F

Preview Lab

Preview with #2A9786

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

Preview Lab → · Contrast checker → · Palette generator →

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