#23796B#23796B

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

Color values

HEX#23796B
RGBrgb(35, 121, 107)
HSLhsl(170, 55%, 31%)
HSVhsv(170, 71%, 47%)
CMYKcmyk(71.1%, 0%, 11.6%, 52.5%)
CIE-LABlab(45.76, -28.73, 0.32)
CIE-LCHlch(45.76, 28.74, 179.35°)
OKLaboklab(52.2% -0.0831 0.0004)
OKLCHoklch(52.2% 0.083 179.7)
XYZxyz(10.1831, 15.0924, 16.2835)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23796B #792331
analogous
#237940 #23796B #235C79
triadic
#23796B #6B2379 #796B23
tetradic
#23796B #402379 #792331 #5C7923
square
#23796B #402379 #792331 #5C7923
split-complementary
#23796B #79235C #794023
monochromatic
#081A17 #154A41 #23796B #31A895 #4BCBB6

Accessibility & contrast

On white

5.23
#23796B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #23796B
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23796B#FFFFFF#000000##FFFFFF
##23796B1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23796b;
/* rgb */ color: rgb(35, 121, 107);
/* oklch */ color: oklch(52.2% 0.083 179.7);
Tailwind
colors: {
  custom: {
    50: '#6ba095',
    500: '#23796b',
    950: '#000000',
  },
}
SCSS
$custom: #23796b;
$custom-light: #6ba095;
$custom-dark: #000000;
JSON
{
  "hex": "#23796b",
  "rgb": {
    "r": 35,
    "g": 121,
    "b": 107
  },
  "hsl": {
    "h": 170.233,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.522,
    "c": 0.08308,
    "h": 179.7
  },
  "luminance": 0.15094
}

Semantic roles & 50–950 ramp

primary
#23796B
secondary
#AC4C5C
accent
#4962DE
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #23796B

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

Preview Lab → · Contrast checker → · Palette generator →

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