#187B56#187B56

#187B56 is a mid, moderate teal. Relative luminance 0.150; OKLCH L 51.9% C 0.105 H 162.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#187B56
RGBrgb(24, 123, 86)
HSLhsl(158, 67%, 29%)
HSVhsv(158, 80%, 48%)
CMYKcmyk(80.5%, 0%, 30.1%, 51.8%)
CIE-LABlab(45.68, -36.79, 12.57)
CIE-LCHlch(45.68, 38.88, 161.14°)
OKLaboklab(51.89% -0.1005 0.032)
OKLCHoklch(51.89% 0.105 162.4)
XYZxyz(9.1384, 15.0309, 11.2219)
Luminance0.1503 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B56 #7B183D
analogous
#187B25 #187B56 #186F7B
triadic
#187B56 #56187B #7B5618
tetradic
#187B56 #25187B #7B183D #6F7B18
square
#187B56 #25187B #7B183D #6F7B18
split-complementary
#187B56 #7B186F #7B2518
monochromatic
#051A12 #0E4832 #187B56 #22AE7A #36D89B

Accessibility & contrast

On white

5.24
#187B56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#187B56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B56
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B56#FFFFFF#000000##FFFFFF
##187B561.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797154
Deuteranopia (green-blind)
#6D6958
Tritanopia (blue-blind)
#007B71
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187b56;
/* rgb */ color: rgb(24, 123, 86);
/* oklch */ color: oklch(51.9% 0.105 162.4);
Tailwind
colors: {
  custom: {
    50: '#67a285',
    500: '#187b56',
    950: '#000000',
  },
}
SCSS
$custom: #187b56;
$custom-light: #67a285;
$custom-dark: #000000;
JSON
{
  "hex": "#187b56",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 86
  },
  "hsl": {
    "h": 157.576,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51891,
    "c": 0.10542,
    "h": 162.4
  },
  "luminance": 0.15032
}

Semantic roles & 50–950 ramp

primary
#187B56
secondary
#B03F69
accent
#3E7EEA
background
#F6FAF8
surface
#EBF3EF
border
#C6CDCA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #187B56

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

Preview Lab → · Contrast checker → · Palette generator →

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