#23786A#23786A

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

Color values

HEX#23786A
RGBrgb(35, 120, 106)
HSLhsl(170, 55%, 30%)
HSVhsv(170, 71%, 47%)
CMYKcmyk(70.8%, 0%, 11.7%, 52.9%)
CIE-LABlab(45.40, -28.53, 0.39)
CIE-LCHlch(45.40, 28.54, 179.21°)
OKLaboklab(51.9% -0.0825 0.0006)
OKLCHoklch(51.9% 0.082 179.6)
XYZxyz(10.0099, 14.8297, 15.9678)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23786A #782331
analogous
#237840 #23786A #235B78
triadic
#23786A #6A2378 #786A23
tetradic
#23786A #402378 #782331 #5B7823
square
#23786A #402378 #782331 #5B7823
split-complementary
#23786A #78235B #784023
monochromatic
#071916 #154940 #23786A #31A794 #4BCAB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##23786A#FFFFFF#000000##FFFFFF
##23786A1.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)
#737169
Deuteranopia (green-blind)
#67686B
Tritanopia (blue-blind)
#007A74
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #23786a;
/* rgb */ color: rgb(35, 120, 106);
/* oklch */ color: oklch(51.9% 0.082 179.6);
Tailwind
colors: {
  custom: {
    50: '#6b9f94',
    500: '#23786a',
    950: '#000000',
  },
}
SCSS
$custom: #23786a;
$custom-light: #6b9f94;
$custom-dark: #000000;
JSON
{
  "hex": "#23786a",
  "rgb": {
    "r": 35,
    "g": 120,
    "b": 106
  },
  "hsl": {
    "h": 170.118,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51896,
    "c": 0.08247,
    "h": 179.6
  },
  "luminance": 0.14831
}

Semantic roles & 50–950 ramp

primary
#23786A
secondary
#AB4C5C
accent
#4A62DE
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #23786A

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

Preview Lab → · Contrast checker → · Palette generator →

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