#186B5F#186B5F

#186B5F is a mid, moderate teal. Relative luminance 0.115; OKLCH L 47.7% C 0.078 H 180.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#186B5F
RGBrgb(24, 107, 95)
HSLhsl(171, 63%, 26%)
HSVhsv(171, 78%, 42%)
CMYKcmyk(77.6%, 0%, 11.2%, 58%)
CIE-LABlab(40.47, -27.05, -0.22)
CIE-LCHlch(40.47, 27.06, 180.47°)
OKLaboklab(47.7% -0.0785 -0.001)
OKLCHoklch(47.7% 0.078 180.8)
XYZxyz(7.6989, 11.5349, 12.6449)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186B5F #6B1824
analogous
#186B35 #186B5F #184D6B
triadic
#186B5F #5F186B #6B5F18
tetradic
#186B5F #35186B #6B1824 #4D6B18
square
#186B5F #35186B #6B1824 #4D6B18
split-complementary
#186B5F #6B184D #6B3518
monochromatic
#061916 #0D3933 #186B5F #239D8B #2ECFB8

Accessibility & contrast

On white

6.35
#186B5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#186B5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186B5F
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186B5F#FFFFFF#000000##FFFFFF
##186B5F1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66645F
Deuteranopia (green-blind)
#5B5C60
Tritanopia (blue-blind)
#006D67
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #186b5f;
/* rgb */ color: rgb(24, 107, 95);
/* oklch */ color: oklch(47.7% 0.078 180.8);
Tailwind
colors: {
  custom: {
    50: '#64968c',
    500: '#186b5f',
    950: '#000000',
  },
}
SCSS
$custom: #186b5f;
$custom-light: #64968c;
$custom-dark: #000000;
JSON
{
  "hex": "#186b5f",
  "rgb": {
    "r": 24,
    "g": 107,
    "b": 95
  },
  "hsl": {
    "h": 171.325,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47697,
    "c": 0.07846,
    "h": 180.8
  },
  "luminance": 0.11536
}

Semantic roles & 50–950 ramp

primary
#186B5F
secondary
#A13E4C
accent
#4159E6
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#060D0C
muted
#7A7E7D

Preview Lab

Preview with #186B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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