#2D877F#2D877F

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

Color values

HEX#2D877F
RGBrgb(45, 135, 127)
HSLhsl(175, 50%, 35%)
HSVhsv(175, 67%, 53%)
CMYKcmyk(66.7%, 0%, 5.9%, 47.1%)
CIE-LABlab(51.17, -28.17, -3.48)
CIE-LCHlch(51.17, 28.39, 187.05°)
OKLaboklab(56.87% -0.0839 -0.0099)
OKLCHoklch(56.87% 0.084 186.7)
XYZxyz(13.5752, 19.4166, 23.1069)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D877F #872D35
analogous
#2D8752 #2D877F #2D6287
triadic
#2D877F #7F2D87 #877F2D
tetradic
#2D877F #522D87 #872D35 #62872D
square
#2D877F #522D87 #872D35 #62872D
split-complementary
#2D877F #872D62 #87522D
monochromatic
#0E2B29 #1E5954 #2D877F #3CB5AA #63CBC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D877F#FFFFFF#000000##000000
##2D877F1.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)
#80807F
Deuteranopia (green-blind)
#727680
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2d877f;
/* rgb */ color: rgb(45, 135, 127);
/* oklch */ color: oklch(56.9% 0.084 186.7);
Tailwind
colors: {
  custom: {
    50: '#72aaa4',
    500: '#2d877f',
    950: '#000000',
  },
}
SCSS
$custom: #2d877f;
$custom-light: #72aaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d877f",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 127
  },
  "hsl": {
    "h": 174.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56869,
    "c": 0.08448,
    "h": 186.7
  },
  "luminance": 0.19418
}

Semantic roles & 50–950 ramp

primary
#2D877F
secondary
#B25E66
accent
#4E5BDA
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #2D877F

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

Preview Lab → · Contrast checker → · Palette generator →

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