#2A8173#2A8173

#2A8173 is a mid, moderate teal. Relative luminance 0.174; OKLCH L 54.8% C 0.085 H 180.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2A8173
RGBrgb(42, 129, 115)
HSLhsl(170, 51%, 34%)
HSVhsv(170, 67%, 51%)
CMYKcmyk(67.4%, 0%, 10.9%, 49.4%)
CIE-LABlab(48.80, -29.17, 0.05)
CIE-LCHlch(48.80, 29.17, 179.91°)
OKLaboklab(54.8% -0.0846 -0.0004)
OKLCHoklch(54.8% 0.085 180.2)
XYZxyz(11.8981, 17.4292, 18.9535)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8173 #812A38
analogous
#2A8147 #2A8173 #2A6381
triadic
#2A8173 #732A81 #81732A
tetradic
#2A8173 #472A81 #812A38 #63812A
square
#2A8173 #472A81 #812A38 #63812A
split-complementary
#2A8173 #812A63 #81472A
monochromatic
#0C2521 #1B534A #2A8173 #39AF9C #5CCAB8

Accessibility & contrast

On white

4.68
#2A8173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2A8173 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8173
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8173#FFFFFF#000000##FFFFFF
##2A81731.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7972
Deuteranopia (green-blind)
#6F7074
Tritanopia (blue-blind)
#00837D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a8173;
/* rgb */ color: rgb(42, 129, 115);
/* oklch */ color: oklch(54.8% 0.085 180.2);
Tailwind
colors: {
  custom: {
    50: '#6fa69b',
    500: '#2a8173',
    950: '#000000',
  },
}
SCSS
$custom: #2a8173;
$custom-light: #6fa69b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8173",
  "rgb": {
    "r": 42,
    "g": 129,
    "b": 115
  },
  "hsl": {
    "h": 170.345,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54799,
    "c": 0.08458,
    "h": 180.2
  },
  "luminance": 0.17431
}

Semantic roles & 50–950 ramp

primary
#2A8173
secondary
#AF5766
accent
#4D64DA
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2A8173

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

Preview Lab → · Contrast checker → · Palette generator →

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