#2D877C#2D877C

#2D877C is a mid, moderate teal. Relative luminance 0.193; OKLCH L 56.8% C 0.086 H 183.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2D877C
RGBrgb(45, 135, 124)
HSLhsl(173, 50%, 35%)
HSVhsv(173, 67%, 53%)
CMYKcmyk(66.7%, 0%, 8.1%, 47.1%)
CIE-LABlab(51.08, -29.03, -1.86)
CIE-LCHlch(51.08, 29.09, 183.68°)
OKLaboklab(56.77% -0.0853 -0.0055)
OKLCHoklch(56.77% 0.086 183.7)
XYZxyz(13.3826, 19.3396, 22.0925)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D877C #872D38
analogous
#2D874F #2D877C #2D6587
triadic
#2D877C #7C2D87 #877C2D
tetradic
#2D877C #4F2D87 #872D38 #65872D
square
#2D877C #4F2D87 #872D38 #65872D
split-complementary
#2D877C #872D65 #874F2D
monochromatic
#0E2B28 #1E5952 #2D877C #3CB5A6 #63CBBE

Accessibility & contrast

On white

4.31
#2D877C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2D877C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D877C
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D877C#FFFFFF#000000##000000
##2D877C1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#817F7C
Deuteranopia (green-blind)
#73767D
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2d877c;
/* rgb */ color: rgb(45, 135, 124);
/* oklch */ color: oklch(56.8% 0.086 183.7);
Tailwind
colors: {
  custom: {
    50: '#72aaa1',
    500: '#2d877c',
    950: '#000000',
  },
}
SCSS
$custom: #2d877c;
$custom-light: #72aaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d877c",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 124
  },
  "hsl": {
    "h": 172.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56767,
    "c": 0.08552,
    "h": 183.7
  },
  "luminance": 0.19341
}

Semantic roles & 50–950 ramp

primary
#2D877C
secondary
#B25E68
accent
#4E5FDA
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100F
muted
#7B7F7E

Preview Lab

Preview with #2D877C

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

Preview Lab → · Contrast checker → · Palette generator →

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