#187F5D#187F5D

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

Color values

HEX#187F5D
RGBrgb(24, 127, 93)
HSLhsl(160, 68%, 30%)
HSVhsv(160, 81%, 50%)
CMYKcmyk(81.1%, 0%, 26.8%, 50.2%)
CIE-LABlab(47.19, -36.78, 10.59)
CIE-LCHlch(47.19, 38.27, 163.94°)
OKLaboklab(53.19% -0.1011 0.027)
OKLCHoklch(53.19% 0.105 165)
XYZxyz(9.9407, 16.1620, 12.9495)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F5D #7F183A
analogous
#187F29 #187F5D #186E7F
triadic
#187F5D #5D187F #7F5D18
tetradic
#187F5D #29187F #7F183A #6E7F18
square
#187F5D #29187F #7F183A #6E7F18
split-complementary
#187F5D #7F186E #7F2918
monochromatic
#051A13 #0E4C37 #187F5D #22B283 #38D9A4

Accessibility & contrast

On white

4.96
#187F5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187F5D
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F5D#FFFFFF#000000##FFFFFF
##187F5D1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C755B
Deuteranopia (green-blind)
#706C5F
Tritanopia (blue-blind)
#007F76
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #187f5d;
/* rgb */ color: rgb(24, 127, 93);
/* oklch */ color: oklch(53.2% 0.105 165.0);
Tailwind
colors: {
  custom: {
    50: '#68a58b',
    500: '#187f5d',
    950: '#000000',
  },
}
SCSS
$custom: #187f5d;
$custom-light: #68a58b;
$custom-dark: #000000;
JSON
{
  "hex": "#187f5d",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 93
  },
  "hsl": {
    "h": 160.194,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53185,
    "c": 0.10462,
    "h": 165
  },
  "luminance": 0.16163
}

Semantic roles & 50–950 ramp

primary
#187F5D
secondary
#B33F66
accent
#3D76EB
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #187F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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