#126877#126877

#126877 is a mid, moderate teal. Relative luminance 0.114; OKLCH L 47.7% C 0.078 H 212.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#126877
RGBrgb(18, 104, 119)
HSLhsl(189, 74%, 27%)
HSVhsv(189, 85%, 47%)
CMYKcmyk(84.9%, 12.6%, 0%, 53.3%)
CIE-LABlab(40.18, -18.32, -15.28)
CIE-LCHlch(40.18, 23.85, 219.83°)
OKLaboklab(47.71% -0.0658 -0.0426)
OKLCHoklch(47.71% 0.078 212.9)
XYZxyz(8.5281, 11.3601, 19.1924)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126877 #772112
analogous
#127754 #126877 #123677
triadic
#126877 #771268 #687712
tetradic
#126877 #541277 #772112 #367712
square
#126877 #541277 #772112 #367712
split-complementary
#126877 #771236 #775412
monochromatic
#04171B #0A3A42 #126877 #1A96AC #25C3DE

Accessibility & contrast

On white

6.42
#126877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#126877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126877
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126877#FFFFFF#000000##FFFFFF
##1268771.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6478
Deuteranopia (green-blind)
#505B77
Tritanopia (blue-blind)
#006E6D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #126877;
/* rgb */ color: rgb(18, 104, 119);
/* oklch */ color: oklch(47.7% 0.078 212.9);
Tailwind
colors: {
  custom: {
    50: '#65939e',
    500: '#126877',
    950: '#000000',
  },
}
SCSS
$custom: #126877;
$custom-light: #65939e;
$custom-dark: #000000;
JSON
{
  "hex": "#126877",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 119
  },
  "hsl": {
    "h": 188.911,
    "s": 73.723,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47708,
    "c": 0.07842,
    "h": 212.9
  },
  "luminance": 0.11361
}

Semantic roles & 50–950 ramp

primary
#126877
secondary
#AD4937
accent
#5337F0
background
#F6F9F9
surface
#EBF1F2
border
#C6CBCC
text
#070D0E
muted
#7A7E7E

Preview Lab

Preview with #126877

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

Preview Lab → · Contrast checker → · Palette generator →

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