#187F7F#187F7F

#187F7F is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.3% C 0.087 H 194.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#187F7F
RGBrgb(24, 127, 127)
HSLhsl(180, 68%, 30%)
HSVhsv(180, 81%, 50%)
CMYKcmyk(81.1%, 0%, 0%, 50.2%)
CIE-LABlab(48.14, -27.06, -8.03)
CIE-LCHlch(48.14, 28.23, 196.54°)
OKLaboklab(54.28% -0.0841 -0.0224)
OKLCHoklch(54.28% 0.087 194.9)
XYZxyz(11.7950, 16.9038, 22.7157)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F7F #7F1818
analogous
#187F4C #187F7F #184C7F
triadic
#187F7F #7F187F #7F7F18
tetradic
#187F7F #4C187F #7F1818 #4C7F18
square
#187F7F #4C187F #7F1818 #4C7F18
split-complementary
#187F7F #7F184C #7F4C18
monochromatic
#051A1A #0E4C4C #187F7F #22B2B2 #38D9D9

Accessibility & contrast

On white

4.79
#187F7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#187F7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F7F
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F7F#FFFFFF#000000##FFFFFF
##187F7F1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76787F
Deuteranopia (green-blind)
#686E80
Tritanopia (blue-blind)
#00837F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #187f7f;
/* rgb */ color: rgb(24, 127, 127);
/* oklch */ color: oklch(54.3% 0.087 194.9);
Tailwind
colors: {
  custom: {
    50: '#6aa4a4',
    500: '#187f7f',
    950: '#000000',
  },
}
SCSS
$custom: #187f7f;
$custom-light: #6aa4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#187f7f",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 127
  },
  "hsl": {
    "h": 180,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54279,
    "c": 0.087,
    "h": 194.9
  },
  "luminance": 0.16905
}

Semantic roles & 50–950 ramp

primary
#187F7F
secondary
#B33F3F
accent
#3D3DEB
background
#F6FAFA
surface
#ECF4F4
border
#C7CECE
text
#080F0F
muted
#7A7F7F

Preview Lab

Preview with #187F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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