#23786F#23786F

#23786F is a mid, moderate teal. Relative luminance 0.149; OKLCH L 52.1% C 0.080 H 184.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#23786F
RGBrgb(35, 120, 111)
HSLhsl(174, 55%, 30%)
HSVhsv(174, 71%, 47%)
CMYKcmyk(70.8%, 0%, 7.5%, 52.9%)
CIE-LABlab(45.55, -27.08, -2.37)
CIE-LCHlch(45.55, 27.19, 185.00°)
OKLaboklab(52.07% -0.08 -0.0068)
OKLCHoklch(52.07% 0.08 184.9)
XYZxyz(10.2775, 14.9368, 17.3773)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23786F #78232C
analogous
#237844 #23786F #235678
triadic
#23786F #6F2378 #786F23
tetradic
#23786F #442378 #78232C #567823
square
#23786F #442378 #78232C #567823
split-complementary
#23786F #782356 #784423
monochromatic
#071917 #154943 #23786F #31A79B #4BCABD

Accessibility & contrast

On white

5.27
#23786F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#23786F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23786F
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23786F#FFFFFF#000000##FFFFFF
##23786F1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72716F
Deuteranopia (green-blind)
#666870
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #23786f;
/* rgb */ color: rgb(35, 120, 111);
/* oklch */ color: oklch(52.1% 0.080 184.9);
Tailwind
colors: {
  custom: {
    50: '#6b9f98',
    500: '#23786f',
    950: '#000000',
  },
}
SCSS
$custom: #23786f;
$custom-light: #6b9f98;
$custom-dark: #000000;
JSON
{
  "hex": "#23786f",
  "rgb": {
    "r": 35,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 173.647,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52065,
    "c": 0.08028,
    "h": 184.9
  },
  "luminance": 0.14938
}

Semantic roles & 50–950 ramp

primary
#23786F
secondary
#AB4C56
accent
#4A59DE
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #23786F

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

Preview Lab → · Contrast checker → · Palette generator →

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