#186F7F#186F7F

#186F7F is a mid, moderate teal. Relative luminance 0.131; OKLCH L 50.0% C 0.081 H 213.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#186F7F
RGBrgb(24, 111, 127)
HSLhsl(189, 68%, 30%)
HSVhsv(189, 81%, 50%)
CMYKcmyk(81.1%, 12.6%, 0%, 50.2%)
CIE-LABlab(42.90, -18.72, -15.94)
CIE-LCHlch(42.90, 24.59, 220.41°)
OKLaboklab(50.04% -0.0675 -0.0445)
OKLCHoklch(50.04% 0.081 213.4)
XYZxyz(9.8902, 13.0942, 22.0807)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186F7F #7F2818
analogous
#187F5B #186F7F #183C7F
triadic
#186F7F #7F186F #6F7F18
tetradic
#186F7F #5B187F #7F2818 #3C7F18
square
#186F7F #5B187F #7F2818 #3C7F18
split-complementary
#186F7F #7F183C #7F5B18
monochromatic
#05161A #0E424C #186F7F #229CB2 #38C0D9

Accessibility & contrast

On white

5.80
#186F7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#186F7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186F7F
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186F7F#FFFFFF#000000##FFFFFF
##186F7F1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636B80
Deuteranopia (green-blind)
#55617F
Tritanopia (blue-blind)
#007574
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #186f7f;
/* rgb */ color: rgb(24, 111, 127);
/* oklch */ color: oklch(50.0% 0.081 213.4);
Tailwind
colors: {
  custom: {
    50: '#6898a4',
    500: '#186f7f',
    950: '#000000',
  },
}
SCSS
$custom: #186f7f;
$custom-light: #6898a4;
$custom-dark: #000000;
JSON
{
  "hex": "#186f7f",
  "rgb": {
    "r": 24,
    "g": 111,
    "b": 127
  },
  "hsl": {
    "h": 189.32,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5004,
    "c": 0.0808,
    "h": 213.4
  },
  "luminance": 0.13095
}

Semantic roles & 50–950 ramp

primary
#186F7F
secondary
#B3513F
accent
#583DEB
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#070D0F
muted
#7A7E7F

Preview Lab

Preview with #186F7F

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

Preview Lab → · Contrast checker → · Palette generator →

#186F7F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva