#187B5F#187B5F

#187B5F is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.1% C 0.098 H 168.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#187B5F
RGBrgb(24, 123, 95)
HSLhsl(163, 67%, 29%)
HSVhsv(163, 80%, 48%)
CMYKcmyk(80.5%, 0%, 22.8%, 51.8%)
CIE-LABlab(45.89, -34.52, 7.58)
CIE-LCHlch(45.89, 35.34, 167.61°)
OKLaboklab(52.13% -0.0958 0.0194)
OKLCHoklch(52.13% 0.098 168.6)
XYZxyz(9.5241, 15.1852, 13.2533)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B5F #7B1834
analogous
#187B2E #187B5F #18667B
triadic
#187B5F #5F187B #7B5F18
tetradic
#187B5F #2E187B #7B1834 #667B18
square
#187B5F #2E187B #7B1834 #667B18
split-complementary
#187B5F #7B1866 #7B2E18
monochromatic
#051A14 #0E4837 #187B5F #22AE87 #36D8AA

Accessibility & contrast

On white

5.20
#187B5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#187B5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B5F
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B5F#FFFFFF#000000##FFFFFF
##187B5F1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78725E
Deuteranopia (green-blind)
#6B6961
Tritanopia (blue-blind)
#007C73
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187b5f;
/* rgb */ color: rgb(24, 123, 95);
/* oklch */ color: oklch(52.1% 0.098 168.6);
Tailwind
colors: {
  custom: {
    50: '#67a28c',
    500: '#187b5f',
    950: '#000000',
  },
}
SCSS
$custom: #187b5f;
$custom-light: #67a28c;
$custom-dark: #000000;
JSON
{
  "hex": "#187b5f",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 95
  },
  "hsl": {
    "h": 163.03,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52133,
    "c": 0.09775,
    "h": 168.6
  },
  "luminance": 0.15186
}

Semantic roles & 50–950 ramp

primary
#187B5F
secondary
#B03F5F
accent
#3E6EEA
background
#F6FAF8
surface
#EBF3F0
border
#C6CDCB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #187B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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