#187A5B#187A5B

#187A5B is a mid, moderate teal. Relative luminance 0.149; OKLCH L 51.7% C 0.100 H 166.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#187A5B
RGBrgb(24, 122, 91)
HSLhsl(161, 67%, 29%)
HSVhsv(161, 80%, 48%)
CMYKcmyk(80.3%, 0%, 25.4%, 52.2%)
CIE-LABlab(45.45, -35.11, 9.32)
CIE-LCHlch(45.45, 36.33, 165.13°)
OKLaboklab(51.74% -0.0968 0.0238)
OKLCHoklch(51.74% 0.1 166.2)
XYZxyz(9.2235, 14.8675, 12.2791)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A5B #7A1837
analogous
#187A2A #187A5B #18687A
triadic
#187A5B #5B187A #7A5B18
tetradic
#187A5B #2A187A #7A1837 #687A18
square
#187A5B #2A187A #7A1837 #687A18
split-complementary
#187A5B #7A1868 #7A2A18
monochromatic
#051A13 #0E4735 #187A5B #22AD81 #35D7A4

Accessibility & contrast

On white

5.28
#187A5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#187A5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A5B
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A5B#FFFFFF#000000##FFFFFF
##187A5B1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#777159
Deuteranopia (green-blind)
#6B685D
Tritanopia (blue-blind)
#007A71
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187a5b;
/* rgb */ color: rgb(24, 122, 91);
/* oklch */ color: oklch(51.7% 0.100 166.2);
Tailwind
colors: {
  custom: {
    50: '#67a189',
    500: '#187a5b',
    950: '#000000',
  },
}
SCSS
$custom: #187a5b;
$custom-light: #67a189;
$custom-dark: #000000;
JSON
{
  "hex": "#187a5b",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 91
  },
  "hsl": {
    "h": 161.02,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51744,
    "c": 0.0997,
    "h": 166.2
  },
  "luminance": 0.14869
}

Semantic roles & 50–950 ramp

primary
#187A5B
secondary
#AF3F62
accent
#3E74EA
background
#F6FAF8
surface
#EBF3F0
border
#C6CDCB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #187A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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