#187F5B#187F5B

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

Color values

HEX#187F5B
RGBrgb(24, 127, 91)
HSLhsl(159, 68%, 30%)
HSVhsv(159, 81%, 50%)
CMYKcmyk(81.1%, 0%, 28.3%, 50.2%)
CIE-LABlab(47.14, -37.28, 11.69)
CIE-LCHlch(47.14, 39.07, 162.59°)
OKLaboklab(53.13% -0.1021 0.0298)
OKLCHoklch(53.13% 0.106 163.7)
XYZxyz(9.8533, 16.1271, 12.4890)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F5B #7F183C
analogous
#187F27 #187F5B #18707F
triadic
#187F5B #5B187F #7F5B18
tetradic
#187F5B #27187F #7F183C #707F18
square
#187F5B #27187F #7F183C #707F18
split-complementary
#187F5B #7F1870 #7F2718
monochromatic
#051A12 #0E4C36 #187F5B #22B280 #38D9A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187F5B#FFFFFF#000000##FFFFFF
##187F5B1.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)
#7D7559
Deuteranopia (green-blind)
#706C5D
Tritanopia (blue-blind)
#007F75
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #187f5b;
/* rgb */ color: rgb(24, 127, 91);
/* oklch */ color: oklch(53.1% 0.106 163.7);
Tailwind
colors: {
  custom: {
    50: '#68a589',
    500: '#187f5b',
    950: '#000000',
  },
}
SCSS
$custom: #187f5b;
$custom-light: #68a589;
$custom-dark: #000000;
JSON
{
  "hex": "#187f5b",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 91
  },
  "hsl": {
    "h": 159.029,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53132,
    "c": 0.10635,
    "h": 163.7
  },
  "luminance": 0.16128
}

Semantic roles & 50–950 ramp

primary
#187F5B
secondary
#B33F68
accent
#3D7AEB
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #187F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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