#187874#187874

#187874 is a mid, moderate teal. Relative luminance 0.149; OKLCH L 52.0% C 0.083 H 190.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#187874
RGBrgb(24, 120, 116)
HSLhsl(178, 67%, 28%)
HSVhsv(178, 80%, 47%)
CMYKcmyk(80%, 0%, 3.3%, 52.9%)
CIE-LABlab(45.48, -27.05, -5.48)
CIE-LCHlch(45.48, 27.60, 191.44°)
OKLaboklab(52% -0.082 -0.0153)
OKLCHoklch(52% 0.083 190.6)
XYZxyz(10.2441, 14.8868, 18.8531)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187874 #78181C
analogous
#187844 #187874 #184C78
triadic
#187874 #741878 #787418
tetradic
#187874 #441878 #78181C #4C7818
square
#187874 #441878 #78181C #4C7818
split-complementary
#187874 #78184C #784418
monochromatic
#051A19 #0E4543 #187874 #22ABA5 #34D6D0

Accessibility & contrast

On white

5.28
#187874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#187874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##187874#FFFFFF#000000##FFFFFF
##1878741.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707174
Deuteranopia (green-blind)
#636875
Tritanopia (blue-blind)
#007C77
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187874;
/* rgb */ color: rgb(24, 120, 116);
/* oklch */ color: oklch(52.0% 0.083 190.6);
Tailwind
colors: {
  custom: {
    50: '#689f9c',
    500: '#187874',
    950: '#000000',
  },
}
SCSS
$custom: #187874;
$custom-light: #689f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#187874",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 116
  },
  "hsl": {
    "h": 177.5,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51996,
    "c": 0.08345,
    "h": 190.6
  },
  "luminance": 0.14888
}

Semantic roles & 50–950 ramp

primary
#187874
secondary
#AD3F43
accent
#3E45EA
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #187874

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

Preview Lab → · Contrast checker → · Palette generator →

#187874 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva