#2B795C#2B795C

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

Color values

HEX#2B795C
RGBrgb(43, 121, 92)
HSLhsl(158, 48%, 32%)
HSVhsv(158, 64%, 47%)
CMYKcmyk(64.5%, 0%, 24%, 52.5%)
CIE-LABlab(45.58, -31.25, 8.98)
CIE-LCHlch(45.58, 32.52, 163.97°)
OKLaboklab(51.98% -0.0865 0.023)
OKLCHoklch(51.98% 0.089 165.1)
XYZxyz(9.7644, 14.9600, 12.4961)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B795C #792B48
analogous
#2B7935 #2B795C #2B6F79
triadic
#2B795C #5C2B79 #795C2B
tetradic
#2B795C #352B79 #792B48 #6F792B
square
#2B795C #352B79 #792B48 #6F792B
split-complementary
#2B795C #792B6F #79352B
monochromatic
#0B1F17 #1B4C3A #2B795C #3BA67E #5AC49D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B795C#FFFFFF#000000##FFFFFF
##2B795C1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77715A
Deuteranopia (green-blind)
#6C695E
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b795c;
/* rgb */ color: rgb(43, 121, 92);
/* oklch */ color: oklch(52.0% 0.089 165.1);
Tailwind
colors: {
  custom: {
    50: '#6da08a',
    500: '#2b795c',
    950: '#000000',
  },
}
SCSS
$custom: #2b795c;
$custom-light: #6da08a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b795c",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 92
  },
  "hsl": {
    "h": 157.692,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51982,
    "c": 0.08948,
    "h": 165.1
  },
  "luminance": 0.14961
}

Semantic roles & 50–950 ramp

primary
#2B795C
secondary
#AA5675
accent
#5183D7
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080F0B
muted
#7B7E7C

Preview Lab

Preview with #2B795C

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

Preview Lab → · Contrast checker → · Palette generator →

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