#23786B#23786B

#23786B is a mid, moderate teal. Relative luminance 0.149; OKLCH L 51.9% C 0.082 H 180.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#23786B
RGBrgb(35, 120, 107)
HSLhsl(171, 55%, 30%)
HSVhsv(171, 71%, 47%)
CMYKcmyk(70.8%, 0%, 10.8%, 52.9%)
CIE-LABlab(45.43, -28.25, -0.16)
CIE-LCHlch(45.43, 28.25, 180.32°)
OKLaboklab(51.93% -0.082 -0.0009)
OKLCHoklch(51.93% 0.082 180.6)
XYZxyz(10.0622, 14.8507, 16.2432)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23786B #782330
analogous
#237841 #23786B #235A78
triadic
#23786B #6B2378 #786B23
tetradic
#23786B #412378 #782330 #5A7823
square
#23786B #412378 #782330 #5A7823
split-complementary
#23786B #78235A #784123
monochromatic
#071917 #154941 #23786B #31A795 #4BCAB7

Accessibility & contrast

On white

5.29
#23786B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#23786B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23786B
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23786B#FFFFFF#000000##FFFFFF
##23786B1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73716A
Deuteranopia (green-blind)
#67686C
Tritanopia (blue-blind)
#007A74
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #23786b;
/* rgb */ color: rgb(35, 120, 107);
/* oklch */ color: oklch(51.9% 0.082 180.6);
Tailwind
colors: {
  custom: {
    50: '#6b9f95',
    500: '#23786b',
    950: '#000000',
  },
}
SCSS
$custom: #23786b;
$custom-light: #6b9f95;
$custom-dark: #000000;
JSON
{
  "hex": "#23786b",
  "rgb": {
    "r": 35,
    "g": 120,
    "b": 107
  },
  "hsl": {
    "h": 170.824,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51929,
    "c": 0.08197,
    "h": 180.6
  },
  "luminance": 0.14852
}

Semantic roles & 50–950 ramp

primary
#23786B
secondary
#AB4C5B
accent
#4A60DE
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #23786B

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

Preview Lab → · Contrast checker → · Palette generator →

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