#187F6B#187F6B

#187F6B is a mid, moderate teal. Relative luminance 0.164; OKLCH L 53.6% C 0.094 H 175.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#187F6B
RGBrgb(24, 127, 107)
HSLhsl(168, 68%, 30%)
HSVhsv(168, 81%, 50%)
CMYKcmyk(81.1%, 0%, 15.7%, 50.2%)
CIE-LABlab(47.54, -33.06, 2.88)
CIE-LCHlch(47.54, 33.18, 175.02°)
OKLaboklab(53.59% -0.0939 0.0071)
OKLCHoklch(53.59% 0.094 175.7)
XYZxyz(10.6185, 16.4332, 16.5193)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F6B #7F182C
analogous
#187F38 #187F6B #185F7F
triadic
#187F6B #6B187F #7F6B18
tetradic
#187F6B #38187F #7F182C #5F7F18
square
#187F6B #38187F #7F182C #5F7F18
split-complementary
#187F6B #7F185F #7F3818
monochromatic
#051A16 #0E4C40 #187F6B #22B296 #38D9BA

Accessibility & contrast

On white

4.90
#187F6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#187F6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F6B
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F6B#FFFFFF#000000##FFFFFF
##187F6B1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A766A
Deuteranopia (green-blind)
#6D6D6D
Tritanopia (blue-blind)
#008179
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #187f6b;
/* rgb */ color: rgb(24, 127, 107);
/* oklch */ color: oklch(53.6% 0.094 175.7);
Tailwind
colors: {
  custom: {
    50: '#69a595',
    500: '#187f6b',
    950: '#000000',
  },
}
SCSS
$custom: #187f6b;
$custom-light: #69a595;
$custom-dark: #000000;
JSON
{
  "hex": "#187f6b",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 107
  },
  "hsl": {
    "h": 168.35,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53589,
    "c": 0.09418,
    "h": 175.7
  },
  "luminance": 0.16434
}

Semantic roles & 50–950 ramp

primary
#187F6B
secondary
#B33F56
accent
#3D5FEB
background
#F6FAF9
surface
#ECF4F1
border
#C7CECB
text
#070F0D
muted
#7A7F7E

Preview Lab

Preview with #187F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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