#2B815C#2B815C

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

Color values

HEX#2B815C
RGBrgb(43, 129, 92)
HSLhsl(154, 50%, 34%)
HSVhsv(154, 67%, 51%)
CMYKcmyk(66.7%, 0%, 28.7%, 49.4%)
CIE-LABlab(48.24, -34.90, 12.70)
CIE-LCHlch(48.24, 37.14, 160.00°)
OKLaboklab(54.16% -0.0956 0.0323)
OKLCHoklch(54.16% 0.101 161.3)
XYZxyz(10.7772, 16.9857, 12.8337)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B815C #812B50
analogous
#2B8131 #2B815C #2B7B81
triadic
#2B815C #5C2B81 #815C2B
tetradic
#2B815C #312B81 #812B50 #7B812B
square
#2B815C #312B81 #812B50 #7B812B
split-complementary
#2B815C #812B7B #81312B
monochromatic
#0C251B #1C533B #2B815C #3AAF7D #5DC99B

Accessibility & contrast

On white

4.78
#2B815C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B815C
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B815C#FFFFFF#000000##FFFFFF
##2B815C1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F775A
Deuteranopia (green-blind)
#746F5E
Tritanopia (blue-blind)
#008177
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b815c;
/* rgb */ color: rgb(43, 129, 92);
/* oklch */ color: oklch(54.2% 0.101 161.3);
Tailwind
colors: {
  custom: {
    50: '#6fa68a',
    500: '#2b815c',
    950: '#000000',
  },
}
SCSS
$custom: #2b815c;
$custom-light: #6fa68a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b815c",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 92
  },
  "hsl": {
    "h": 154.186,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54161,
    "c": 0.10091,
    "h": 161.3
  },
  "luminance": 0.16987
}

Semantic roles & 50–950 ramp

primary
#2B815C
secondary
#AF597E
accent
#4E8ADA
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2B815C

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

Preview Lab → · Contrast checker → · Palette generator →

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