#187A6C#187A6C

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

Color values

HEX#187A6C
RGBrgb(24, 122, 108)
HSLhsl(171, 67%, 29%)
HSVhsv(171, 80%, 48%)
CMYKcmyk(80.3%, 0%, 11.5%, 52.2%)
CIE-LABlab(45.90, -30.44, -0.09)
CIE-LCHlch(45.90, 30.44, 180.18°)
OKLaboklab(52.26% -0.0881 -0.0008)
OKLCHoklch(52.26% 0.088 180.5)
XYZxyz(10.0416, 15.1947, 16.5881)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A6C #7A1826
analogous
#187A3B #187A6C #18577A
triadic
#187A6C #6C187A #7A6C18
tetradic
#187A6C #3B187A #7A1826 #577A18
square
#187A6C #3B187A #7A1826 #577A18
split-complementary
#187A6C #7A1857 #7A3B18
monochromatic
#051A17 #0E473F #187A6C #22AD99 #35D7C0

Accessibility & contrast

On white

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

On black

4.04
#187A6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##187A6C#FFFFFF#000000##FFFFFF
##187A6C1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74726B
Deuteranopia (green-blind)
#67696D
Tritanopia (blue-blind)
#007C76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187a6c;
/* rgb */ color: rgb(24, 122, 108);
/* oklch */ color: oklch(52.3% 0.088 180.5);
Tailwind
colors: {
  custom: {
    50: '#68a196',
    500: '#187a6c',
    950: '#000000',
  },
}
SCSS
$custom: #187a6c;
$custom-light: #68a196;
$custom-dark: #000000;
JSON
{
  "hex": "#187a6c",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 108
  },
  "hsl": {
    "h": 171.429,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52259,
    "c": 0.08811,
    "h": 180.5
  },
  "luminance": 0.15196
}

Semantic roles & 50–950 ramp

primary
#187A6C
secondary
#AF3F4F
accent
#3E56EA
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #187A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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