#187C5F#187C5F

#187C5F is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.4% C 0.099 H 168.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#187C5F
RGBrgb(24, 124, 95)
HSLhsl(163, 68%, 29%)
HSVhsv(163, 81%, 49%)
CMYKcmyk(80.6%, 0%, 23.4%, 51.4%)
CIE-LABlab(46.22, -34.96, 8.06)
CIE-LCHlch(46.22, 35.88, 167.02°)
OKLaboklab(52.41% -0.0969 0.0206)
OKLCHoklch(52.41% 0.099 168)
XYZxyz(9.6488, 15.4345, 13.2949)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C5F #7C1835
analogous
#187C2D #187C5F #18677C
triadic
#187C5F #5F187C #7C5F18
tetradic
#187C5F #2D187C #7C1835 #677C18
square
#187C5F #2D187C #7C1835 #677C18
split-complementary
#187C5F #7C1867 #7C2D18
monochromatic
#051A14 #0E4938 #187C5F #22AF86 #36D8A9

Accessibility & contrast

On white

5.14
#187C5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#187C5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C5F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C5F#FFFFFF#000000##FFFFFF
##187C5F1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79735D
Deuteranopia (green-blind)
#6C6A61
Tritanopia (blue-blind)
#007D74
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187c5f;
/* rgb */ color: rgb(24, 124, 95);
/* oklch */ color: oklch(52.4% 0.099 168.0);
Tailwind
colors: {
  custom: {
    50: '#67a38c',
    500: '#187c5f',
    950: '#000000',
  },
}
SCSS
$custom: #187c5f;
$custom-light: #67a38c;
$custom-dark: #000000;
JSON
{
  "hex": "#187c5f",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 95
  },
  "hsl": {
    "h": 162.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5241,
    "c": 0.09904,
    "h": 168
  },
  "luminance": 0.15436
}

Semantic roles & 50–950 ramp

primary
#187C5F
secondary
#B13F60
accent
#3D70EA
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #187C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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