#187A5C#187A5C

#187A5C is a mid, moderate teal. Relative luminance 0.149; OKLCH L 51.8% C 0.099 H 166.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#187A5C
RGBrgb(24, 122, 92)
HSLhsl(162, 67%, 29%)
HSVhsv(162, 80%, 48%)
CMYKcmyk(80.3%, 0%, 24.6%, 52.2%)
CIE-LABlab(45.48, -34.86, 8.77)
CIE-LCHlch(45.48, 35.94, 165.88°)
OKLaboklab(51.77% -0.0963 0.0224)
OKLCHoklch(51.77% 0.099 166.9)
XYZxyz(9.2669, 14.8848, 12.5078)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A5C #7A1836
analogous
#187A2B #187A5C #18677A
triadic
#187A5C #5C187A #7A5C18
tetradic
#187A5C #2B187A #7A1836 #677A18
square
#187A5C #2B187A #7A1836 #677A18
split-complementary
#187A5C #7A1867 #7A2B18
monochromatic
#051A13 #0E4735 #187A5C #22AD83 #35D7A6

Accessibility & contrast

On white

5.28
#187A5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#187A5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A5C
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A5C#FFFFFF#000000##FFFFFF
##187A5C1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77715A
Deuteranopia (green-blind)
#6B685E
Tritanopia (blue-blind)
#007A72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187a5c;
/* rgb */ color: rgb(24, 122, 92);
/* oklch */ color: oklch(51.8% 0.099 166.9);
Tailwind
colors: {
  custom: {
    50: '#67a18a',
    500: '#187a5c',
    950: '#000000',
  },
}
SCSS
$custom: #187a5c;
$custom-light: #67a18a;
$custom-dark: #000000;
JSON
{
  "hex": "#187a5c",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 92
  },
  "hsl": {
    "h": 161.633,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51772,
    "c": 0.09887,
    "h": 166.9
  },
  "luminance": 0.14886
}

Semantic roles & 50–950 ramp

primary
#187A5C
secondary
#AF3F61
accent
#3E73EA
background
#F6FAF8
surface
#EBF3F0
border
#C6CDCB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #187A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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