#187A6B#187A6B

#187A6B is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.2% C 0.089 H 179.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#187A6B
RGBrgb(24, 122, 107)
HSLhsl(171, 67%, 29%)
HSVhsv(171, 80%, 48%)
CMYKcmyk(80.3%, 0%, 12.3%, 52.2%)
CIE-LABlab(45.87, -30.73, 0.46)
CIE-LCHlch(45.87, 30.74, 179.15°)
OKLaboklab(52.23% -0.0886 0.0007)
OKLCHoklch(52.23% 0.089 179.5)
XYZxyz(9.9887, 15.1736, 16.3094)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A6B #7A1827
analogous
#187A3A #187A6B #18587A
triadic
#187A6B #6B187A #7A6B18
tetradic
#187A6B #3A187A #7A1827 #587A18
square
#187A6B #3A187A #7A1827 #587A18
split-complementary
#187A6B #7A1858 #7A3A18
monochromatic
#051A16 #0E473E #187A6B #22AD98 #35D7BE

Accessibility & contrast

On white

5.20
#187A6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#187A6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A6B
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A6B#FFFFFF#000000##FFFFFF
##187A6B1.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74726A
Deuteranopia (green-blind)
#68696C
Tritanopia (blue-blind)
#007C75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187a6b;
/* rgb */ color: rgb(24, 122, 107);
/* oklch */ color: oklch(52.2% 0.089 179.5);
Tailwind
colors: {
  custom: {
    50: '#68a195',
    500: '#187a6b',
    950: '#000000',
  },
}
SCSS
$custom: #187a6b;
$custom-light: #68a195;
$custom-dark: #000000;
JSON
{
  "hex": "#187a6b",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 107
  },
  "hsl": {
    "h": 170.816,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52226,
    "c": 0.08862,
    "h": 179.5
  },
  "luminance": 0.15175
}

Semantic roles & 50–950 ramp

primary
#187A6B
secondary
#AF3F50
accent
#3E58EA
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #187A6B

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

Preview Lab → · Contrast checker → · Palette generator →

#187A6B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva