#2D875E#2D875E

#2D875E is a mid, moderate teal. Relative luminance 0.187; OKLCH L 55.9% C 0.107 H 159.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2D875E
RGBrgb(45, 135, 94)
HSLhsl(153, 50%, 35%)
HSVhsv(153, 67%, 53%)
CMYKcmyk(66.7%, 0%, 30.4%, 47.1%)
CIE-LABlab(50.33, -36.70, 14.44)
CIE-LCHlch(50.33, 39.44, 158.52°)
OKLaboklab(55.9% -0.1002 0.0367)
OKLCHoklch(55.9% 0.107 159.9)
XYZxyz(11.7654, 18.6927, 13.5755)
Luminance0.1869 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D875E #872D56
analogous
#2D8731 #2D875E #2D8387
triadic
#2D875E #5E2D87 #875E2D
tetradic
#2D875E #312D87 #872D56 #83872D
square
#2D875E #312D87 #872D56 #83872D
split-complementary
#2D875E #872D83 #87312D
monochromatic
#0E2B1E #1E593E #2D875E #3CB57E #63CB9C

Accessibility & contrast

On white

4.43
#2D875E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#2D875E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D875E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D875E#FFFFFF#000000##000000
##2D875E1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#857D5C
Deuteranopia (green-blind)
#797461
Tritanopia (blue-blind)
#00867C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d875e;
/* rgb */ color: rgb(45, 135, 94);
/* oklch */ color: oklch(55.9% 0.107 159.9);
Tailwind
colors: {
  custom: {
    50: '#71ab8b',
    500: '#2d875e',
    950: '#000000',
  },
}
SCSS
$custom: #2d875e;
$custom-light: #71ab8b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d875e",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 94
  },
  "hsl": {
    "h": 152.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55899,
    "c": 0.10671,
    "h": 159.9
  },
  "luminance": 0.18694
}

Semantic roles & 50–950 ramp

primary
#2D875E
secondary
#B25E84
accent
#4E8EDA
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #2D875E

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

Preview Lab → · Contrast checker → · Palette generator →

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