#187A7F#187A7F

#187A7F is a mid, moderate teal. Relative luminance 0.156; OKLCH L 53.0% C 0.084 H 200.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#187A7F
RGBrgb(24, 122, 127)
HSLhsl(183, 68%, 30%)
HSVhsv(183, 81%, 50%)
CMYKcmyk(81.1%, 3.9%, 0%, 50.2%)
CIE-LABlab(46.50, -24.54, -10.49)
CIE-LCHlch(46.50, 26.69, 203.14°)
OKLaboklab(52.95% -0.0789 -0.0291)
OKLCHoklch(52.95% 0.084 200.3)
XYZxyz(11.1652, 15.6442, 22.5057)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A7F #7F1D18
analogous
#187F51 #187A7F #18467F
triadic
#187A7F #7F187A #7A7F18
tetradic
#187A7F #51187F #7F1D18 #467F18
square
#187A7F #51187F #7F1D18 #467F18
split-complementary
#187A7F #7F1846 #7F5118
monochromatic
#05191A #0E494C #187A7F #22ABB2 #38D2D9

Accessibility & contrast

On white

5.09
#187A7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#187A7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A7F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A7F#FFFFFF#000000##FFFFFF
##187A7F1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70747F
Deuteranopia (green-blind)
#626A7F
Tritanopia (blue-blind)
#007F7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187a7f;
/* rgb */ color: rgb(24, 122, 127);
/* oklch */ color: oklch(53.0% 0.084 200.3);
Tailwind
colors: {
  custom: {
    50: '#6aa1a4',
    500: '#187a7f',
    950: '#000000',
  },
}
SCSS
$custom: #187a7f;
$custom-light: #6aa1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#187a7f",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 127
  },
  "hsl": {
    "h": 182.913,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52951,
    "c": 0.0841,
    "h": 200.3
  },
  "luminance": 0.15646
}

Semantic roles & 50–950 ramp

primary
#187A7F
secondary
#B3453F
accent
#453DEB
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#070F0F
muted
#7A7E7F

Preview Lab

Preview with #187A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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