#2B795D#2B795D

#2B795D is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.0% C 0.089 H 165.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2B795D
RGBrgb(43, 121, 93)
HSLhsl(158, 48%, 32%)
HSVhsv(158, 64%, 47%)
CMYKcmyk(64.5%, 0%, 23.1%, 52.5%)
CIE-LABlab(45.60, -31.01, 8.42)
CIE-LCHlch(45.60, 32.13, 164.80°)
OKLaboklab(52.01% -0.086 0.0216)
OKLCHoklch(52.01% 0.089 165.9)
XYZxyz(9.8084, 14.9776, 12.7279)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B795D #792B47
analogous
#2B7936 #2B795D #2B6E79
triadic
#2B795D #5D2B79 #795D2B
tetradic
#2B795D #362B79 #792B47 #6E792B
square
#2B795D #362B79 #792B47 #6E792B
split-complementary
#2B795D #792B6E #79362B
monochromatic
#0B1F18 #1B4C3A #2B795D #3BA680 #5AC49E

Accessibility & contrast

On white

5.26
#2B795D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2B795D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B795D
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B795D#FFFFFF#000000##FFFFFF
##2B795D1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76715C
Deuteranopia (green-blind)
#6B695F
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b795d;
/* rgb */ color: rgb(43, 121, 93);
/* oklch */ color: oklch(52.0% 0.089 165.9);
Tailwind
colors: {
  custom: {
    50: '#6da08b',
    500: '#2b795d',
    950: '#000000',
  },
}
SCSS
$custom: #2b795d;
$custom-light: #6da08b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b795d",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 93
  },
  "hsl": {
    "h": 158.462,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5201,
    "c": 0.08863,
    "h": 165.9
  },
  "luminance": 0.14979
}

Semantic roles & 50–950 ramp

primary
#2B795D
secondary
#AA5674
accent
#5181D7
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080F0B
muted
#7B7E7C

Preview Lab

Preview with #2B795D

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

Preview Lab → · Contrast checker → · Palette generator →

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