#2C817E#2C817E

#2C817E is a mid, moderate teal. Relative luminance 0.177; OKLCH L 55.2% C 0.080 H 191.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2C817E
RGBrgb(44, 129, 126)
HSLhsl(178, 49%, 34%)
HSVhsv(178, 66%, 51%)
CMYKcmyk(65.9%, 0%, 2.3%, 49.4%)
CIE-LABlab(49.18, -25.65, -5.85)
CIE-LCHlch(49.18, 26.30, 192.84°)
OKLaboklab(55.24% -0.0782 -0.0163)
OKLCHoklch(55.24% 0.08 191.8)
XYZxyz(12.6532, 17.7410, 22.4921)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C817E #812C2F
analogous
#2C8154 #2C817E #2C5A81
triadic
#2C817E #7E2C81 #817E2C
tetradic
#2C817E #542C81 #812C2F #5A812C
square
#2C817E #542C81 #812C2F #5A812C
split-complementary
#2C817E #812C5A #81542C
monochromatic
#0D2625 #1C5351 #2C817E #3CAFAB #5FC8C5

Accessibility & contrast

On white

4.62
#2C817E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2C817E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2C817E
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C817E#FFFFFF#000000##FFFFFF
##2C817E1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797A7E
Deuteranopia (green-blind)
#6C717F
Tritanopia (blue-blind)
#008580
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c817e;
/* rgb */ color: rgb(44, 129, 126);
/* oklch */ color: oklch(55.2% 0.080 191.8);
Tailwind
colors: {
  custom: {
    50: '#71a6a3',
    500: '#2c817e',
    950: '#000000',
  },
}
SCSS
$custom: #2c817e;
$custom-light: #71a6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c817e",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 126
  },
  "hsl": {
    "h": 177.882,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55235,
    "c": 0.07992,
    "h": 191.8
  },
  "luminance": 0.17742
}

Semantic roles & 50–950 ramp

primary
#2C817E
secondary
#AF5A5D
accent
#4F54D9
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #2C817E

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

Preview Lab → · Contrast checker → · Palette generator →

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