#2B815E#2B815E

#2B815E is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.2% C 0.099 H 162.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2B815E
RGBrgb(43, 129, 94)
HSLhsl(156, 50%, 34%)
HSVhsv(156, 67%, 51%)
CMYKcmyk(66.7%, 0%, 27.1%, 49.4%)
CIE-LABlab(48.29, -34.43, 11.60)
CIE-LCHlch(48.29, 36.33, 161.37°)
OKLaboklab(54.21% -0.0946 0.0296)
OKLCHoklch(54.21% 0.099 162.6)
XYZxyz(10.8658, 17.0211, 13.3003)
Luminance0.1702 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B815E #812B4E
analogous
#2B8133 #2B815E #2B7981
triadic
#2B815E #5E2B81 #815E2B
tetradic
#2B815E #332B81 #812B4E #79812B
square
#2B815E #332B81 #812B4E #79812B
split-complementary
#2B815E #812B79 #81332B
monochromatic
#0C251B #1C533D #2B815E #3AAF7F #5DC99D

Accessibility & contrast

On white

4.77
#2B815E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2B815E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B815E
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B815E#FFFFFF#000000##FFFFFF
##2B815E1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F785C
Deuteranopia (green-blind)
#736F60
Tritanopia (blue-blind)
#008177
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b815e;
/* rgb */ color: rgb(43, 129, 94);
/* oklch */ color: oklch(54.2% 0.099 162.6);
Tailwind
colors: {
  custom: {
    50: '#6fa68b',
    500: '#2b815e',
    950: '#000000',
  },
}
SCSS
$custom: #2b815e;
$custom-light: #6fa68b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b815e",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 94
  },
  "hsl": {
    "h": 155.581,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54212,
    "c": 0.09911,
    "h": 162.6
  },
  "luminance": 0.17022
}

Semantic roles & 50–950 ramp

primary
#2B815E
secondary
#AF597C
accent
#4E87DA
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #2B815E

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

Preview Lab → · Contrast checker → · Palette generator →

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