#187B5A#187B5A

#187B5A is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.0% C 0.102 H 165.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#187B5A
RGBrgb(24, 123, 90)
HSLhsl(160, 67%, 29%)
HSVhsv(160, 80%, 48%)
CMYKcmyk(80.5%, 0%, 26.8%, 51.8%)
CIE-LABlab(45.77, -35.80, 10.35)
CIE-LCHlch(45.77, 37.27, 163.87°)
OKLaboklab(52% -0.0984 0.0264)
OKLCHoklch(52% 0.102 165)
XYZxyz(9.3040, 15.0972, 12.0946)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B5A #7B1839
analogous
#187B29 #187B5A #186B7B
triadic
#187B5A #5A187B #7B5A18
tetradic
#187B5A #29187B #7B1839 #6B7B18
square
#187B5A #29187B #7B1839 #6B7B18
split-complementary
#187B5A #7B186B #7B2918
monochromatic
#051A13 #0E4835 #187B5A #22AE7F #36D8A2

Accessibility & contrast

On white

5.22
#187B5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#187B5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B5A
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B5A#FFFFFF#000000##FFFFFF
##187B5A1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787258
Deuteranopia (green-blind)
#6C695C
Tritanopia (blue-blind)
#007B72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187b5a;
/* rgb */ color: rgb(24, 123, 90);
/* oklch */ color: oklch(52.0% 0.102 165.0);
Tailwind
colors: {
  custom: {
    50: '#67a288',
    500: '#187b5a',
    950: '#000000',
  },
}
SCSS
$custom: #187b5a;
$custom-light: #67a288;
$custom-dark: #000000;
JSON
{
  "hex": "#187b5a",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 90
  },
  "hsl": {
    "h": 160,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51995,
    "c": 0.10188,
    "h": 165
  },
  "luminance": 0.15098
}

Semantic roles & 50–950 ramp

primary
#187B5A
secondary
#B03F65
accent
#3E77EA
background
#F6FAF8
surface
#EBF3EF
border
#C6CDCA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #187B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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