#2B795E#2B795E

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

Color values

HEX#2B795E
RGBrgb(43, 121, 94)
HSLhsl(159, 48%, 32%)
HSVhsv(159, 64%, 47%)
CMYKcmyk(64.5%, 0%, 22.3%, 52.5%)
CIE-LABlab(45.63, -30.76, 7.87)
CIE-LCHlch(45.63, 31.75, 165.65°)
OKLaboklab(52.04% -0.0855 0.0201)
OKLCHoklch(52.04% 0.088 166.7)
XYZxyz(9.8530, 14.9955, 12.9627)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B795E #792B46
analogous
#2B7937 #2B795E #2B6D79
triadic
#2B795E #5E2B79 #795E2B
tetradic
#2B795E #372B79 #792B46 #6D792B
square
#2B795E #372B79 #792B46 #6D792B
split-complementary
#2B795E #792B6D #79372B
monochromatic
#0B1F18 #1B4C3B #2B795E #3BA681 #5AC4A0

Accessibility & contrast

On white

5.25
#2B795E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B795E
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B795E#FFFFFF#000000##FFFFFF
##2B795E1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b795e;
/* rgb */ color: rgb(43, 121, 94);
/* oklch */ color: oklch(52.0% 0.088 166.7);
Tailwind
colors: {
  custom: {
    50: '#6da08b',
    500: '#2b795e',
    950: '#000000',
  },
}
SCSS
$custom: #2b795e;
$custom-light: #6da08b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b795e",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 94
  },
  "hsl": {
    "h": 159.231,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52038,
    "c": 0.0878,
    "h": 166.7
  },
  "luminance": 0.14996
}

Semantic roles & 50–950 ramp

primary
#2B795E
secondary
#AA5673
accent
#517FD7
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #2B795E

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

Preview Lab → · Contrast checker → · Palette generator →

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