#2D8872#2D8872

#2D8872 is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.7% C 0.092 H 173.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2D8872
RGBrgb(45, 136, 114)
HSLhsl(165, 50%, 35%)
HSVhsv(165, 67%, 53%)
CMYKcmyk(66.9%, 0%, 16.2%, 46.7%)
CIE-LABlab(51.13, -32.25, 4.02)
CIE-LCHlch(51.13, 32.50, 172.89°)
OKLaboklab(56.71% -0.0913 0.0102)
OKLCHoklch(56.71% 0.092 173.7)
XYZxyz(12.9221, 19.3797, 18.9760)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8872 #882D43
analogous
#2D8845 #2D8872 #2D7088
triadic
#2D8872 #722D88 #88722D
tetradic
#2D8872 #452D88 #882D43 #70882D
square
#2D8872 #452D88 #882D43 #70882D
split-complementary
#2D8872 #882D70 #88452D
monochromatic
#0F2C25 #1E5A4B #2D8872 #3CB699 #64CCB3

Accessibility & contrast

On white

4.31
#2D8872 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2D8872 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8872
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8872#FFFFFF#000000##000000
##2D88721.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#837F71
Deuteranopia (green-blind)
#777674
Tritanopia (blue-blind)
#008982
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2d8872;
/* rgb */ color: rgb(45, 136, 114);
/* oklch */ color: oklch(56.7% 0.092 173.7);
Tailwind
colors: {
  custom: {
    50: '#72ab9a',
    500: '#2d8872',
    950: '#000000',
  },
}
SCSS
$custom: #2d8872;
$custom-light: #72ab9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8872",
  "rgb": {
    "r": 45,
    "g": 136,
    "b": 114
  },
  "hsl": {
    "h": 165.495,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56713,
    "c": 0.09189,
    "h": 173.7
  },
  "luminance": 0.19381
}

Semantic roles & 50–950 ramp

primary
#2D8872
secondary
#B25F73
accent
#4E70DA
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #2D8872

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

Preview Lab → · Contrast checker → · Palette generator →

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