#2D877A#2D877A

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

Color values

HEX#2D877A
RGBrgb(45, 135, 122)
HSLhsl(171, 50%, 35%)
HSVhsv(171, 67%, 53%)
CMYKcmyk(66.7%, 0%, 9.6%, 47.1%)
CIE-LABlab(51.02, -29.59, -0.78)
CIE-LCHlch(51.02, 29.60, 181.52°)
OKLaboklab(56.7% -0.0863 -0.0026)
OKLCHoklch(56.7% 0.086 181.7)
XYZxyz(13.2574, 19.2895, 21.4331)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D877A #872D3A
analogous
#2D874D #2D877A #2D6787
triadic
#2D877A #7A2D87 #877A2D
tetradic
#2D877A #4D2D87 #872D3A #67872D
square
#2D877A #4D2D87 #872D3A #67872D
split-complementary
#2D877A #872D67 #874D2D
monochromatic
#0E2B27 #1E5951 #2D877A #3CB5A3 #63CBBC

Accessibility & contrast

On white

4.32
#2D877A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#2D877A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D877A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D877A#FFFFFF#000000##000000
##2D877A1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#817F7A
Deuteranopia (green-blind)
#74757B
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2d877a;
/* rgb */ color: rgb(45, 135, 122);
/* oklch */ color: oklch(56.7% 0.086 181.7);
Tailwind
colors: {
  custom: {
    50: '#72aaa0',
    500: '#2d877a',
    950: '#000000',
  },
}
SCSS
$custom: #2d877a;
$custom-light: #72aaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d877a",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 122
  },
  "hsl": {
    "h": 171.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.567,
    "c": 0.08634,
    "h": 181.7
  },
  "luminance": 0.19291
}

Semantic roles & 50–950 ramp

primary
#2D877A
secondary
#B25E6A
accent
#4E62DA
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #2D877A

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

Preview Lab → · Contrast checker → · Palette generator →

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