#2D9872#2D9872

#2D9872 is a mid, moderate teal. Relative luminance 0.242; OKLCH L 61.0% C 0.113 H 165.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#2D9872
RGBrgb(45, 152, 114)
HSLhsl(159, 54%, 39%)
HSVhsv(159, 70%, 60%)
CMYKcmyk(70.4%, 0%, 25%, 40.4%)
CIE-LABlab(56.31, -39.44, 11.40)
CIE-LCHlch(56.31, 41.05, 163.87°)
OKLaboklab(60.96% -0.1087 0.0291)
OKLCHoklch(60.96% 0.113 165)
XYZxyz(15.3460, 24.2275, 19.7839)
Luminance0.2423 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9872 #982D53
analogous
#2D983C #2D9872 #2D8898
triadic
#2D9872 #722D98 #98722D
tetradic
#2D9872 #3C2D98 #982D53 #88982D
square
#2D9872 #3C2D98 #982D53 #88982D
split-complementary
#2D9872 #982D88 #983C2D
monochromatic
#113A2B #1F694F #2D9872 #3DC595 #6CD3AF

Accessibility & contrast

On white

3.59
#2D9872 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#2D9872 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9872
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9872#FFFFFF#000000##000000
##2D98721.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958D70
Deuteranopia (green-blind)
#878374
Tritanopia (blue-blind)
#00988D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2d9872;
/* rgb */ color: rgb(45, 152, 114);
/* oklch */ color: oklch(61.0% 0.113 165.0);
Tailwind
colors: {
  custom: {
    50: '#74b79a',
    500: '#2d9872',
    950: '#000000',
  },
}
SCSS
$custom: #2d9872;
$custom-light: #74b79a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9872",
  "rgb": {
    "r": 45,
    "g": 152,
    "b": 114
  },
  "hsl": {
    "h": 158.692,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60955,
    "c": 0.11257,
    "h": 165
  },
  "luminance": 0.24229
}

Semantic roles & 50–950 ramp

primary
#2D9872
secondary
#BA6684
accent
#4A7FDE
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #2D9872

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

Preview Lab → · Contrast checker → · Palette generator →

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