#2B815A#2B815A

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

Color values

HEX#2B815A
RGBrgb(43, 129, 90)
HSLhsl(153, 50%, 34%)
HSVhsv(153, 67%, 51%)
CMYKcmyk(66.7%, 0%, 30.2%, 49.4%)
CIE-LABlab(48.20, -35.36, 13.80)
CIE-LCHlch(48.20, 37.96, 158.68°)
OKLaboklab(54.11% -0.0966 0.0351)
OKLCHoklch(54.11% 0.103 160.1)
XYZxyz(10.6910, 16.9512, 12.3794)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B815A #812B52
analogous
#2B812F #2B815A #2B7D81
triadic
#2B815A #5A2B81 #815A2B
tetradic
#2B815A #2F2B81 #812B52 #7D812B
square
#2B815A #2F2B81 #812B52 #7D812B
split-complementary
#2B815A #812B7D #812F2B
monochromatic
#0C251A #1C533A #2B815A #3AAF7A #5DC998

Accessibility & contrast

On white

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

On black

4.39
#2B815A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B815A#FFFFFF#000000##FFFFFF
##2B815A1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7758
Deuteranopia (green-blind)
#746F5C
Tritanopia (blue-blind)
#008077
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b815a;
/* rgb */ color: rgb(43, 129, 90);
/* oklch */ color: oklch(54.1% 0.103 160.1);
Tailwind
colors: {
  custom: {
    50: '#6fa688',
    500: '#2b815a',
    950: '#000000',
  },
}
SCSS
$custom: #2b815a;
$custom-light: #6fa688;
$custom-dark: #000000;
JSON
{
  "hex": "#2b815a",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 90
  },
  "hsl": {
    "h": 152.791,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54111,
    "c": 0.10276,
    "h": 160.1
  },
  "luminance": 0.16952
}

Semantic roles & 50–950 ramp

primary
#2B815A
secondary
#AF5980
accent
#4E8DDA
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2B815A

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

Preview Lab → · Contrast checker → · Palette generator →

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