#2B795B#2B795B

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

Color values

HEX#2B795B
RGBrgb(43, 121, 91)
HSLhsl(157, 48%, 32%)
HSVhsv(157, 64%, 47%)
CMYKcmyk(64.5%, 0%, 24.8%, 52.5%)
CIE-LABlab(45.56, -31.50, 9.53)
CIE-LCHlch(45.56, 32.91, 163.16°)
OKLaboklab(51.96% -0.087 0.0244)
OKLCHoklch(51.96% 0.09 164.3)
XYZxyz(9.7210, 14.9427, 12.2674)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B795B #792B49
analogous
#2B7934 #2B795B #2B7079
triadic
#2B795B #5B2B79 #795B2B
tetradic
#2B795B #342B79 #792B49 #70792B
square
#2B795B #342B79 #792B49 #70792B
split-complementary
#2B795B #792B70 #79342B
monochromatic
#0B1F17 #1B4C39 #2B795B #3BA67D #5AC49B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B795B#FFFFFF#000000##FFFFFF
##2B795B1.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)
#777059
Deuteranopia (green-blind)
#6C695D
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b795b;
/* rgb */ color: rgb(43, 121, 91);
/* oklch */ color: oklch(52.0% 0.090 164.3);
Tailwind
colors: {
  custom: {
    50: '#6da089',
    500: '#2b795b',
    950: '#000000',
  },
}
SCSS
$custom: #2b795b;
$custom-light: #6da089;
$custom-dark: #000000;
JSON
{
  "hex": "#2b795b",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 91
  },
  "hsl": {
    "h": 156.923,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51955,
    "c": 0.09034,
    "h": 164.3
  },
  "luminance": 0.14944
}

Semantic roles & 50–950 ramp

primary
#2B795B
secondary
#AA5676
accent
#5184D7
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080F0B
muted
#7B7E7C

Preview Lab

Preview with #2B795B

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

Preview Lab → · Contrast checker → · Palette generator →

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