#187862#187862

#187862 is a mid, moderate teal. Relative luminance 0.145; OKLCH L 51.4% C 0.092 H 172.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#187862
RGBrgb(24, 120, 98)
HSLhsl(166, 67%, 28%)
HSVhsv(166, 80%, 47%)
CMYKcmyk(80%, 0%, 18.3%, 52.9%)
CIE-LABlab(44.95, -32.35, 4.48)
CIE-LCHlch(44.95, 32.66, 172.12°)
OKLaboklab(51.39% -0.0911 0.0113)
OKLCHoklch(51.39% 0.092 172.9)
XYZxyz(9.2966, 14.5078, 13.8632)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187862 #78182E
analogous
#187832 #187862 #185E78
triadic
#187862 #621878 #786218
tetradic
#187862 #321878 #78182E #5E7818
square
#187862 #321878 #78182E #5E7818
split-complementary
#187862 #78185E #783218
monochromatic
#051A15 #0E4538 #187862 #22AB8C #34D6B1

Accessibility & contrast

On white

5.38
#187862 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#187862 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187862
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187862#FFFFFF#000000##FFFFFF
##1878621.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747061
Deuteranopia (green-blind)
#686764
Tritanopia (blue-blind)
#007972
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187862;
/* rgb */ color: rgb(24, 120, 98);
/* oklch */ color: oklch(51.4% 0.092 172.9);
Tailwind
colors: {
  custom: {
    50: '#679f8e',
    500: '#187862',
    950: '#000000',
  },
}
SCSS
$custom: #187862;
$custom-light: #679f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#187862",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 98
  },
  "hsl": {
    "h": 166.25,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51392,
    "c": 0.09176,
    "h": 172.9
  },
  "luminance": 0.14509
}

Semantic roles & 50–950 ramp

primary
#187862
secondary
#AD3F58
accent
#3E65EA
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070F0C
muted
#7A7E7D

Preview Lab

Preview with #187862

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

Preview Lab → · Contrast checker → · Palette generator →

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