#12878C#12878C

#12878C is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.8% C 0.093 H 199.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#12878C
RGBrgb(18, 135, 140)
HSLhsl(182, 77%, 31%)
HSVhsv(182, 87%, 55%)
CMYKcmyk(87.1%, 3.6%, 0%, 45.1%)
CIE-LABlab(51.09, -27.38, -11.24)
CIE-LCHlch(51.09, 29.60, 202.31°)
OKLaboklab(56.8% -0.0877 -0.0313)
OKLCHoklch(56.8% 0.093 199.6)
XYZxyz(13.6449, 19.3482, 27.8213)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12878C #8C1712
analogous
#128C54 #12878C #124A8C
triadic
#12878C #8C1287 #878C12
tetradic
#12878C #54128C #8C1712 #4A8C12
square
#12878C #54128C #8C1712 #4A8C12
split-complementary
#12878C #8C124A #8C5412
monochromatic
#041E20 #0B5356 #12878C #19BBC2 #34DEE5

Accessibility & contrast

On white

4.31
#12878C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#12878C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #12878C
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12878C#FFFFFF#000000##000000
##12878C1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C808C
Deuteranopia (green-blind)
#6C758D
Tritanopia (blue-blind)
#008C88
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #12878c;
/* rgb */ color: rgb(18, 135, 140);
/* oklch */ color: oklch(56.8% 0.093 199.6);
Tailwind
colors: {
  custom: {
    50: '#6caaad',
    500: '#12878c',
    950: '#000000',
  },
}
SCSS
$custom: #12878c;
$custom-light: #6caaad;
$custom-dark: #000000;
JSON
{
  "hex": "#12878c",
  "rgb": {
    "r": 18,
    "g": 135,
    "b": 140
  },
  "hsl": {
    "h": 182.459,
    "s": 77.215,
    "l": 30.98
  },
  "oklch": {
    "l": 0.568,
    "c": 0.09315,
    "h": 199.6
  },
  "luminance": 0.1935
}

Semantic roles & 50–950 ramp

primary
#12878C
secondary
#C03F39
accent
#3C34F4
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#081010
muted
#7B7F7F

Preview Lab

Preview with #12878C

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

Preview Lab → · Contrast checker → · Palette generator →

#12878C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva