#2B795F#2B795F

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

Color values

HEX#2B795F
RGBrgb(43, 121, 95)
HSLhsl(160, 48%, 32%)
HSVhsv(160, 64%, 47%)
CMYKcmyk(64.5%, 0%, 21.5%, 52.5%)
CIE-LABlab(45.65, -30.51, 7.31)
CIE-LCHlch(45.65, 31.37, 166.52°)
OKLaboklab(52.07% -0.0849 0.0187)
OKLCHoklch(52.07% 0.087 167.6)
XYZxyz(9.8982, 15.0135, 13.2005)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B795F #792B45
analogous
#2B7938 #2B795F #2B6C79
triadic
#2B795F #5F2B79 #795F2B
tetradic
#2B795F #382B79 #792B45 #6C792B
square
#2B795F #382B79 #792B45 #6C792B
split-complementary
#2B795F #792B6C #79382B
monochromatic
#0B1F18 #1B4C3C #2B795F #3BA682 #5AC4A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B795F#FFFFFF#000000##FFFFFF
##2B795F1.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)
#76715E
Deuteranopia (green-blind)
#6B6961
Tritanopia (blue-blind)
#007A72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b795f;
/* rgb */ color: rgb(43, 121, 95);
/* oklch */ color: oklch(52.1% 0.087 167.6);
Tailwind
colors: {
  custom: {
    50: '#6ea08c',
    500: '#2b795f',
    950: '#000000',
  },
}
SCSS
$custom: #2b795f;
$custom-light: #6ea08c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b795f",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 95
  },
  "hsl": {
    "h": 160,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52066,
    "c": 0.08699,
    "h": 167.6
  },
  "luminance": 0.15015
}

Semantic roles & 50–950 ramp

primary
#2B795F
secondary
#AA5672
accent
#517DD7
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #2B795F

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

Preview Lab → · Contrast checker → · Palette generator →

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