#2B815D#2B815D

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

Color values

HEX#2B815D
RGBrgb(43, 129, 93)
HSLhsl(155, 50%, 34%)
HSVhsv(155, 67%, 51%)
CMYKcmyk(66.7%, 0%, 27.9%, 49.4%)
CIE-LABlab(48.26, -34.67, 12.15)
CIE-LCHlch(48.26, 36.73, 160.68°)
OKLaboklab(54.19% -0.0951 0.031)
OKLCHoklch(54.19% 0.1 162)
XYZxyz(10.8212, 17.0033, 13.0655)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B815D #812B4F
analogous
#2B8132 #2B815D #2B7A81
triadic
#2B815D #5D2B81 #815D2B
tetradic
#2B815D #322B81 #812B4F #7A812B
square
#2B815D #322B81 #812B4F #7A812B
split-complementary
#2B815D #812B7A #81322B
monochromatic
#0C251B #1C533C #2B815D #3AAF7E #5DC99C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B815D#FFFFFF#000000##FFFFFF
##2B815D1.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)
#7F785B
Deuteranopia (green-blind)
#736F5F
Tritanopia (blue-blind)
#008177
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b815d;
/* rgb */ color: rgb(43, 129, 93);
/* oklch */ color: oklch(54.2% 0.100 162.0);
Tailwind
colors: {
  custom: {
    50: '#6fa68b',
    500: '#2b815d',
    950: '#000000',
  },
}
SCSS
$custom: #2b815d;
$custom-light: #6fa68b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b815d",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 93
  },
  "hsl": {
    "h": 154.884,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54187,
    "c": 0.1,
    "h": 162
  },
  "luminance": 0.17004
}

Semantic roles & 50–950 ramp

primary
#2B815D
secondary
#AF597D
accent
#4E89DA
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #2B815D

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

Preview Lab → · Contrast checker → · Palette generator →

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