#2D8271#2D8271

#2D8271 is a mid, moderate teal. Relative luminance 0.177; OKLCH L 55.1% C 0.085 H 177.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2D8271
RGBrgb(45, 130, 113)
HSLhsl(168, 49%, 34%)
HSVhsv(168, 65%, 51%)
CMYKcmyk(65.4%, 0%, 13.1%, 49%)
CIE-LABlab(49.15, -29.67, 1.74)
CIE-LCHlch(49.15, 29.72, 176.64°)
OKLaboklab(55.09% -0.0851 0.0042)
OKLCHoklch(55.09% 0.085 177.2)
XYZxyz(12.0440, 17.7141, 18.4040)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8271 #822D3E
analogous
#2D8247 #2D8271 #2D6982
triadic
#2D8271 #712D82 #82712D
tetradic
#2D8271 #472D82 #822D3E #69822D
square
#2D8271 #472D82 #822D3E #69822D
split-complementary
#2D8271 #822D69 #82472D
monochromatic
#0E2722 #1D5549 #2D8271 #3DAF99 #61C8B4

Accessibility & contrast

On white

4.62
#2D8271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2D8271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8271
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8271#FFFFFF#000000##FFFFFF
##2D82711.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7A70
Deuteranopia (green-blind)
#717172
Tritanopia (blue-blind)
#00847D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2d8271;
/* rgb */ color: rgb(45, 130, 113);
/* oklch */ color: oklch(55.1% 0.085 177.2);
Tailwind
colors: {
  custom: {
    50: '#71a799',
    500: '#2d8271',
    950: '#000000',
  },
}
SCSS
$custom: #2d8271;
$custom-light: #71a799;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8271",
  "rgb": {
    "r": 45,
    "g": 130,
    "b": 113
  },
  "hsl": {
    "h": 168,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55089,
    "c": 0.0852,
    "h": 177.2
  },
  "luminance": 0.17715
}

Semantic roles & 50–950 ramp

primary
#2D8271
secondary
#AF5C6D
accent
#506BD8
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2D8271

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

Preview Lab → · Contrast checker → · Palette generator →

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