#2D877E#2D877E

#2D877E is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.8% C 0.085 H 185.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2D877E
RGBrgb(45, 135, 126)
HSLhsl(174, 50%, 35%)
HSVhsv(174, 67%, 53%)
CMYKcmyk(66.7%, 0%, 6.7%, 47.1%)
CIE-LABlab(51.14, -28.46, -2.94)
CIE-LCHlch(51.14, 28.61, 185.91°)
OKLaboklab(56.83% -0.0844 -0.0084)
OKLCHoklch(56.83% 0.085 185.7)
XYZxyz(13.5103, 19.3907, 22.7654)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D877E #872D36
analogous
#2D8751 #2D877E #2D6387
triadic
#2D877E #7E2D87 #877E2D
tetradic
#2D877E #512D87 #872D36 #63872D
square
#2D877E #512D87 #872D36 #63872D
split-complementary
#2D877E #872D63 #87512D
monochromatic
#0E2B28 #1E5953 #2D877E #3CB5A9 #63CBC1

Accessibility & contrast

On white

4.30
#2D877E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2D877E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D877E
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D877E#FFFFFF#000000##000000
##2D877E1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#80807E
Deuteranopia (green-blind)
#73767F
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2d877e;
/* rgb */ color: rgb(45, 135, 126);
/* oklch */ color: oklch(56.8% 0.085 185.7);
Tailwind
colors: {
  custom: {
    50: '#72aaa3',
    500: '#2d877e',
    950: '#000000',
  },
}
SCSS
$custom: #2d877e;
$custom-light: #72aaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d877e",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 126
  },
  "hsl": {
    "h": 174,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56834,
    "c": 0.0848,
    "h": 185.7
  },
  "luminance": 0.19392
}

Semantic roles & 50–950 ramp

primary
#2D877E
secondary
#B25E67
accent
#4E5CDA
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #2D877E

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

Preview Lab → · Contrast checker → · Palette generator →

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