#23796C#23796C

#23796C is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.2% C 0.083 H 180.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#23796C
RGBrgb(35, 121, 108)
HSLhsl(171, 55%, 31%)
HSVhsv(171, 71%, 47%)
CMYKcmyk(71.1%, 0%, 10.7%, 52.5%)
CIE-LABlab(45.79, -28.45, -0.23)
CIE-LCHlch(45.79, 28.45, 180.46°)
OKLaboklab(52.23% -0.0826 -0.0011)
OKLCHoklch(52.23% 0.083 180.7)
XYZxyz(10.2360, 15.1136, 16.5622)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23796C #792330
analogous
#237941 #23796C #235B79
triadic
#23796C #6C2379 #796C23
tetradic
#23796C #412379 #792330 #5B7923
square
#23796C #412379 #792330 #5B7923
split-complementary
#23796C #79235B #794123
monochromatic
#081A17 #154A42 #23796C #31A896 #4BCBB8

Accessibility & contrast

On white

5.22
#23796C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#23796C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23796C
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23796C#FFFFFF#000000##FFFFFF
##23796C1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74726C
Deuteranopia (green-blind)
#67696D
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #23796c;
/* rgb */ color: rgb(35, 121, 108);
/* oklch */ color: oklch(52.2% 0.083 180.7);
Tailwind
colors: {
  custom: {
    50: '#6ba096',
    500: '#23796c',
    950: '#000000',
  },
}
SCSS
$custom: #23796c;
$custom-light: #6ba096;
$custom-dark: #000000;
JSON
{
  "hex": "#23796c",
  "rgb": {
    "r": 35,
    "g": 121,
    "b": 108
  },
  "hsl": {
    "h": 170.93,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52233,
    "c": 0.08259,
    "h": 180.7
  },
  "luminance": 0.15115
}

Semantic roles & 50–950 ramp

primary
#23796C
secondary
#AC4C5B
accent
#4960DE
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #23796C

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

Preview Lab → · Contrast checker → · Palette generator →

#23796C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva