#2A8979#2A8979

#2A8979 is a mid, moderate teal. Relative luminance 0.198; OKLCH L 57.1% C 0.090 H 179.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2A8979
RGBrgb(42, 137, 121)
HSLhsl(170, 53%, 35%)
HSVhsv(170, 69%, 54%)
CMYKcmyk(69.3%, 0%, 11.7%, 46.3%)
CIE-LABlab(51.57, -31.33, 0.58)
CIE-LCHlch(51.57, 31.34, 178.93°)
OKLaboklab(57.11% -0.0905 0.001)
OKLCHoklch(57.11% 0.09 179.3)
XYZxyz(13.3500, 19.7625, 21.1964)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8979 #892A3A
analogous
#2A894A #2A8979 #2A6989
triadic
#2A8979 #792A89 #89792A
tetradic
#2A8979 #4A2A89 #892A3A #69892A
square
#2A8979 #4A2A89 #892A3A #69892A
split-complementary
#2A8979 #892A69 #894A2A
monochromatic
#0D2B26 #1C5A50 #2A8979 #38B8A2 #5FCEBB

Accessibility & contrast

On white

4.24
#2A8979 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#2A8979 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8979
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8979#FFFFFF#000000##000000
##2A89791.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#838178
Deuteranopia (green-blind)
#76777A
Tritanopia (blue-blind)
#008B84
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8979;
/* rgb */ color: rgb(42, 137, 121);
/* oklch */ color: oklch(57.1% 0.090 179.3);
Tailwind
colors: {
  custom: {
    50: '#71ac9f',
    500: '#2a8979',
    950: '#000000',
  },
}
SCSS
$custom: #2a8979;
$custom-light: #71ac9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8979",
  "rgb": {
    "r": 42,
    "g": 137,
    "b": 121
  },
  "hsl": {
    "h": 169.895,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57112,
    "c": 0.09049,
    "h": 179.3
  },
  "luminance": 0.19764
}

Semantic roles & 50–950 ramp

primary
#2A8979
secondary
#B45B6A
accent
#4B64DC
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #2A8979

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

Preview Lab → · Contrast checker → · Palette generator →

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