#187879#187879

#187879 is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.2% C 0.083 H 196.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#187879
RGBrgb(24, 120, 121)
HSLhsl(181, 67%, 28%)
HSVhsv(181, 80%, 47%)
CMYKcmyk(80.2%, 0.8%, 0%, 52.5%)
CIE-LABlab(45.64, -25.46, -8.21)
CIE-LCHlch(45.64, 26.75, 197.87°)
OKLaboklab(52.18% -0.0796 -0.0228)
OKLCHoklch(52.18% 0.083 196)
XYZxyz(10.5428, 15.0063, 20.4263)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187879 #791918
analogous
#187949 #187879 #184779
triadic
#187879 #791878 #787918
tetradic
#187879 #491879 #791918 #477918
square
#187879 #491879 #791918 #477918
split-complementary
#187879 #791847 #794918
monochromatic
#05191A #0E4546 #187879 #22ABAC #35D5D7

Accessibility & contrast

On white

5.25
#187879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#187879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187879
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187879#FFFFFF#000000##FFFFFF
##1878791.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7279
Deuteranopia (green-blind)
#62687A
Tritanopia (blue-blind)
#007C78
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187879;
/* rgb */ color: rgb(24, 120, 121);
/* oklch */ color: oklch(52.2% 0.083 196.0);
Tailwind
colors: {
  custom: {
    50: '#699f9f',
    500: '#187879',
    950: '#000000',
  },
}
SCSS
$custom: #187879;
$custom-light: #699f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#187879",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 121
  },
  "hsl": {
    "h": 180.619,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52184,
    "c": 0.08283,
    "h": 196
  },
  "luminance": 0.15008
}

Semantic roles & 50–950 ramp

primary
#187879
secondary
#AE403F
accent
#403EEA
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #187879

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

Preview Lab → · Contrast checker → · Palette generator →

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