#2B795A#2B795A

#2B795A is a mid, moderate teal. Relative luminance 0.149; OKLCH L 51.9% C 0.091 H 163.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2B795A
RGBrgb(43, 121, 90)
HSLhsl(156, 48%, 32%)
HSVhsv(156, 64%, 47%)
CMYKcmyk(64.5%, 0%, 25.6%, 52.5%)
CIE-LABlab(45.53, -31.74, 10.09)
CIE-LCHlch(45.53, 33.31, 162.37°)
OKLaboklab(51.93% -0.0875 0.0258)
OKLCHoklch(51.93% 0.091 163.6)
XYZxyz(9.6781, 14.9255, 12.0418)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B795A #792B4A
analogous
#2B7933 #2B795A #2B7179
triadic
#2B795A #5A2B79 #795A2B
tetradic
#2B795A #332B79 #792B4A #71792B
square
#2B795A #332B79 #792B4A #71792B
split-complementary
#2B795A #792B71 #79332B
monochromatic
#0B1F17 #1B4C38 #2B795A #3BA67C #5AC49A

Accessibility & contrast

On white

5.27
#2B795A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2B795A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B795A
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B795A#FFFFFF#000000##FFFFFF
##2B795A1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#777058
Deuteranopia (green-blind)
#6C695C
Tritanopia (blue-blind)
#007970
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b795a;
/* rgb */ color: rgb(43, 121, 90);
/* oklch */ color: oklch(51.9% 0.091 163.6);
Tailwind
colors: {
  custom: {
    50: '#6da088',
    500: '#2b795a',
    950: '#000000',
  },
}
SCSS
$custom: #2b795a;
$custom-light: #6da088;
$custom-dark: #000000;
JSON
{
  "hex": "#2b795a",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 90
  },
  "hsl": {
    "h": 156.154,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51928,
    "c": 0.09122,
    "h": 163.6
  },
  "luminance": 0.14927
}

Semantic roles & 50–950 ramp

primary
#2B795A
secondary
#AA5677
accent
#5186D7
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#080F0B
muted
#7B7E7C

Preview Lab

Preview with #2B795A

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

Preview Lab → · Contrast checker → · Palette generator →

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