#2B8271#2B8271

#2B8271 is a mid, moderate teal. Relative luminance 0.177; OKLCH L 55.0% C 0.086 H 177.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2B8271
RGBrgb(43, 130, 113)
HSLhsl(168, 50%, 34%)
HSVhsv(168, 67%, 51%)
CMYKcmyk(66.9%, 0%, 13.1%, 49%)
CIE-LABlab(49.09, -30.03, 1.66)
CIE-LCHlch(49.09, 30.08, 176.84°)
OKLaboklab(55.03% -0.0862 0.0039)
OKLCHoklch(55.03% 0.086 177.4)
XYZxyz(11.9581, 17.6698, 18.4000)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8271 #822B3C
analogous
#2B8246 #2B8271 #2B6882
triadic
#2B8271 #712B82 #82712B
tetradic
#2B8271 #462B82 #822B3C #68822B
square
#2B8271 #462B82 #822B3C #68822B
split-complementary
#2B8271 #822B68 #82462B
monochromatic
#0D2621 #1C5449 #2B8271 #3AB099 #5ECAB5

Accessibility & contrast

On white

4.63
#2B8271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2B8271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8271
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8271#FFFFFF#000000##FFFFFF
##2B82711.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b8271;
/* rgb */ color: rgb(43, 130, 113);
/* oklch */ color: oklch(55.0% 0.086 177.4);
Tailwind
colors: {
  custom: {
    50: '#70a799',
    500: '#2b8271',
    950: '#000000',
  },
}
SCSS
$custom: #2b8271;
$custom-light: #70a799;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8271",
  "rgb": {
    "r": 43,
    "g": 130,
    "b": 113
  },
  "hsl": {
    "h": 168.276,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55029,
    "c": 0.08626,
    "h": 177.4
  },
  "luminance": 0.17671
}

Semantic roles & 50–950 ramp

primary
#2B8271
secondary
#B0596A
accent
#4E69DA
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2B8271

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

Preview Lab → · Contrast checker → · Palette generator →

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