#2D875C#2D875C

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

Color values

HEX#2D875C
RGBrgb(45, 135, 92)
HSLhsl(151, 50%, 35%)
HSVhsv(151, 67%, 53%)
CMYKcmyk(66.7%, 0%, 31.9%, 47.1%)
CIE-LABlab(50.28, -37.15, 15.53)
CIE-LCHlch(50.28, 40.26, 157.32°)
OKLaboklab(55.85% -0.1012 0.0393)
OKLCHoklch(55.85% 0.109 158.8)
XYZxyz(11.6768, 18.6573, 13.1090)
Luminance0.1866 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D875C #872D58
analogous
#2D872F #2D875C #2D8587
triadic
#2D875C #5C2D87 #875C2D
tetradic
#2D875C #2F2D87 #872D58 #85872D
square
#2D875C #2F2D87 #872D58 #85872D
split-complementary
#2D875C #872D85 #872F2D
monochromatic
#0E2B1D #1E593D #2D875C #3CB57B #63CB9A

Accessibility & contrast

On white

4.44
#2D875C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#2D875C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D875C
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D875C#FFFFFF#000000##000000
##2D875C1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#867D59
Deuteranopia (green-blind)
#7A745F
Tritanopia (blue-blind)
#00867C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d875c;
/* rgb */ color: rgb(45, 135, 92);
/* oklch */ color: oklch(55.9% 0.109 158.8);
Tailwind
colors: {
  custom: {
    50: '#71ab8a',
    500: '#2d875c',
    950: '#000000',
  },
}
SCSS
$custom: #2d875c;
$custom-light: #71ab8a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d875c",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 92
  },
  "hsl": {
    "h": 151.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55851,
    "c": 0.10859,
    "h": 158.8
  },
  "luminance": 0.18659
}

Semantic roles & 50–950 ramp

primary
#2D875C
secondary
#B25E86
accent
#4E91DA
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2D875C

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

Preview Lab → · Contrast checker → · Palette generator →

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