#2A8978#2A8978

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

Color values

HEX#2A8978
RGBrgb(42, 137, 120)
HSLhsl(169, 53%, 35%)
HSVhsv(169, 69%, 54%)
CMYKcmyk(69.3%, 0%, 12.4%, 46.3%)
CIE-LABlab(51.54, -31.61, 1.12)
CIE-LCHlch(51.54, 31.63, 177.96°)
OKLaboklab(57.08% -0.091 0.0025)
OKLCHoklch(57.08% 0.091 178.4)
XYZxyz(13.2890, 19.7381, 20.8751)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8978 #892A3B
analogous
#2A8948 #2A8978 #2A6B89
triadic
#2A8978 #782A89 #89782A
tetradic
#2A8978 #482A89 #892A3B #6B892A
square
#2A8978 #482A89 #892A3B #6B892A
split-complementary
#2A8978 #892A6B #89482A
monochromatic
#0D2B26 #1C5A4F #2A8978 #38B8A1 #5FCEBA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8978#FFFFFF#000000##000000
##2A89781.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)
#838177
Deuteranopia (green-blind)
#767779
Tritanopia (blue-blind)
#008B84
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8978;
/* rgb */ color: rgb(42, 137, 120);
/* oklch */ color: oklch(57.1% 0.091 178.4);
Tailwind
colors: {
  custom: {
    50: '#71ac9e',
    500: '#2a8978',
    950: '#000000',
  },
}
SCSS
$custom: #2a8978;
$custom-light: #71ac9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8978",
  "rgb": {
    "r": 42,
    "g": 137,
    "b": 120
  },
  "hsl": {
    "h": 169.263,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5708,
    "c": 0.09099,
    "h": 178.4
  },
  "luminance": 0.1974
}

Semantic roles & 50–950 ramp

primary
#2A8978
secondary
#B45B6B
accent
#4B65DC
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #2A8978

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

Preview Lab → · Contrast checker → · Palette generator →

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