#2D876F#2D876F

#2D876F is a mid, moderate teal. Relative luminance 0.190; OKLCH L 56.4% C 0.093 H 171.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2D876F
RGBrgb(45, 135, 111)
HSLhsl(164, 50%, 35%)
HSVhsv(164, 67%, 53%)
CMYKcmyk(66.7%, 0%, 17.8%, 47.1%)
CIE-LABlab(50.72, -32.57, 5.19)
CIE-LCHlch(50.72, 32.98, 170.95°)
OKLaboklab(56.36% -0.0917 0.0132)
OKLCHoklch(56.36% 0.093 171.8)
XYZxyz(12.6140, 19.0322, 18.0446)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D876F #872D45
analogous
#2D8742 #2D876F #2D7287
triadic
#2D876F #6F2D87 #876F2D
tetradic
#2D876F #422D87 #872D45 #72872D
square
#2D876F #422D87 #872D45 #72872D
split-complementary
#2D876F #872D72 #87422D
monochromatic
#0E2B24 #1E5949 #2D876F #3CB595 #63CBAF

Accessibility & contrast

On white

4.37
#2D876F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#2D876F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D876F
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D876F#FFFFFF#000000##000000
##2D876F1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#837E6E
Deuteranopia (green-blind)
#767571
Tritanopia (blue-blind)
#008880
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d876f;
/* rgb */ color: rgb(45, 135, 111);
/* oklch */ color: oklch(56.4% 0.093 171.8);
Tailwind
colors: {
  custom: {
    50: '#71aa98',
    500: '#2d876f',
    950: '#000000',
  },
}
SCSS
$custom: #2d876f;
$custom-light: #71aa98;
$custom-dark: #000000;
JSON
{
  "hex": "#2d876f",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 111
  },
  "hsl": {
    "h": 164,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56357,
    "c": 0.09265,
    "h": 171.8
  },
  "luminance": 0.19034
}

Semantic roles & 50–950 ramp

primary
#2D876F
secondary
#B25E74
accent
#4E73DA
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #2D876F

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

Preview Lab → · Contrast checker → · Palette generator →

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