#187F5C#187F5C

#187F5C is a mid, moderate teal. Relative luminance 0.161; OKLCH L 53.2% C 0.105 H 164.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#187F5C
RGBrgb(24, 127, 92)
HSLhsl(160, 68%, 30%)
HSVhsv(160, 81%, 50%)
CMYKcmyk(81.1%, 0%, 27.6%, 50.2%)
CIE-LABlab(47.16, -37.03, 11.14)
CIE-LCHlch(47.16, 38.67, 163.26°)
OKLaboklab(53.16% -0.1016 0.0284)
OKLCHoklch(53.16% 0.105 164.4)
XYZxyz(9.8967, 16.1444, 12.7177)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F5C #7F183B
analogous
#187F29 #187F5C #186F7F
triadic
#187F5C #5C187F #7F5C18
tetradic
#187F5C #29187F #7F183B #6F7F18
square
#187F5C #29187F #7F183B #6F7F18
split-complementary
#187F5C #7F186F #7F2918
monochromatic
#051A13 #0E4C37 #187F5C #22B281 #38D9A3

Accessibility & contrast

On white

4.97
#187F5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#187F5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F5C
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F5C#FFFFFF#000000##FFFFFF
##187F5C1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C755A
Deuteranopia (green-blind)
#706C5E
Tritanopia (blue-blind)
#007F75
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #187f5c;
/* rgb */ color: rgb(24, 127, 92);
/* oklch */ color: oklch(53.2% 0.105 164.4);
Tailwind
colors: {
  custom: {
    50: '#68a58a',
    500: '#187f5c',
    950: '#000000',
  },
}
SCSS
$custom: #187f5c;
$custom-light: #68a58a;
$custom-dark: #000000;
JSON
{
  "hex": "#187f5c",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 92
  },
  "hsl": {
    "h": 159.612,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53158,
    "c": 0.10548,
    "h": 164.4
  },
  "luminance": 0.16146
}

Semantic roles & 50–950 ramp

primary
#187F5C
secondary
#B33F67
accent
#3D78EB
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #187F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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