#12878F#12878F

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

Color values

HEX#12878F
RGBrgb(18, 135, 143)
HSLhsl(184, 78%, 32%)
HSVhsv(184, 87%, 56%)
CMYKcmyk(87.4%, 5.6%, 0%, 43.9%)
CIE-LABlab(51.20, -26.40, -12.83)
CIE-LCHlch(51.20, 29.35, 205.91°)
OKLaboklab(56.92% -0.0864 -0.0357)
OKLCHoklch(56.92% 0.093 202.5)
XYZxyz(13.8691, 19.4379, 29.0022)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12878F #8F1A12
analogous
#128F59 #12878F #12498F
triadic
#12878F #8F1287 #878F12
tetradic
#12878F #59128F #8F1A12 #498F12
square
#12878F #59128F #8F1A12 #498F12
split-complementary
#12878F #8F1249 #8F5912
monochromatic
#042022 #0B5459 #12878F #19BAC5 #36DAE6

Accessibility & contrast

On white

4.30
#12878F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#12878F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #12878F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12878F#FFFFFF#000000##000000
##12878F1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8190
Deuteranopia (green-blind)
#6B758F
Tritanopia (blue-blind)
#008D89
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #12878f;
/* rgb */ color: rgb(18, 135, 143);
/* oklch */ color: oklch(56.9% 0.093 202.5);
Tailwind
colors: {
  custom: {
    50: '#6caaaf',
    500: '#12878f',
    950: '#000000',
  },
}
SCSS
$custom: #12878f;
$custom-light: #6caaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#12878f",
  "rgb": {
    "r": 18,
    "g": 135,
    "b": 143
  },
  "hsl": {
    "h": 183.84,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56919,
    "c": 0.09347,
    "h": 202.5
  },
  "luminance": 0.1944
}

Semantic roles & 50–950 ramp

primary
#12878F
secondary
#C3423A
accent
#4034F4
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#081010
muted
#7B7F7F

Preview Lab

Preview with #12878F

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

Preview Lab → · Contrast checker → · Palette generator →

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