#2D875F#2D875F

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

Color values

HEX#2D875F
RGBrgb(45, 135, 95)
HSLhsl(153, 50%, 35%)
HSVhsv(153, 67%, 53%)
CMYKcmyk(66.7%, 0%, 29.6%, 47.1%)
CIE-LABlab(50.35, -36.47, 13.90)
CIE-LCHlch(50.35, 39.03, 159.14°)
OKLaboklab(55.92% -0.0997 0.0353)
OKLCHoklch(55.92% 0.106 160.5)
XYZxyz(11.8106, 18.7108, 13.8134)
Luminance0.1871 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D875F #872D55
analogous
#2D8732 #2D875F #2D8287
triadic
#2D875F #5F2D87 #875F2D
tetradic
#2D875F #322D87 #872D55 #82872D
square
#2D875F #322D87 #872D55 #82872D
split-complementary
#2D875F #872D82 #87322D
monochromatic
#0E2B1E #1E593F #2D875F #3CB57F #63CB9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D875F#FFFFFF#000000##000000
##2D875F1.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)
#857D5D
Deuteranopia (green-blind)
#797462
Tritanopia (blue-blind)
#00877C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d875f;
/* rgb */ color: rgb(45, 135, 95);
/* oklch */ color: oklch(55.9% 0.106 160.5);
Tailwind
colors: {
  custom: {
    50: '#71ab8c',
    500: '#2d875f',
    950: '#000000',
  },
}
SCSS
$custom: #2d875f;
$custom-light: #71ab8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d875f",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 95
  },
  "hsl": {
    "h": 153.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55924,
    "c": 0.10579,
    "h": 160.5
  },
  "luminance": 0.18712
}

Semantic roles & 50–950 ramp

primary
#2D875F
secondary
#B25E83
accent
#4E8CDA
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #2D875F

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

Preview Lab → · Contrast checker → · Palette generator →

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