#126872#126872

#126872 is a mid, moderate teal. Relative luminance 0.112; OKLCH L 47.5% C 0.076 H 207.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#126872
RGBrgb(18, 104, 114)
HSLhsl(186, 73%, 26%)
HSVhsv(186, 84%, 45%)
CMYKcmyk(84.2%, 8.8%, 0%, 55.3%)
CIE-LABlab(39.99, -20.07, -12.53)
CIE-LCHlch(39.99, 23.66, 211.97°)
OKLaboklab(47.49% -0.0681 -0.0349)
OKLCHoklch(47.49% 0.077 207.1)
XYZxyz(8.2357, 11.2431, 17.6524)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126872 #721C12
analogous
#12724C #126872 #123872
triadic
#126872 #721268 #687212
tetradic
#126872 #4C1272 #721C12 #387212
square
#126872 #4C1272 #721C12 #387212
split-complementary
#126872 #721238 #724C12
monochromatic
#04181A #0A383D #126872 #1A98A7 #23C8DC

Accessibility & contrast

On white

6.46
#126872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#126872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126872
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126872#FFFFFF#000000##FFFFFF
##1268721.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6473
Deuteranopia (green-blind)
#515A72
Tritanopia (blue-blind)
#006D6B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #126872;
/* rgb */ color: rgb(18, 104, 114);
/* oklch */ color: oklch(47.5% 0.076 207.1);
Tailwind
colors: {
  custom: {
    50: '#64939a',
    500: '#126872',
    950: '#000000',
  },
}
SCSS
$custom: #126872;
$custom-light: #64939a;
$custom-dark: #000000;
JSON
{
  "hex": "#126872",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 114
  },
  "hsl": {
    "h": 186.25,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47488,
    "c": 0.0765,
    "h": 207.1
  },
  "luminance": 0.11244
}

Semantic roles & 50–950 ramp

primary
#126872
secondary
#A94337
accent
#4B38EF
background
#F6F9F9
surface
#EBF1F2
border
#C6CBCC
text
#060D0E
muted
#7A7E7E

Preview Lab

Preview with #126872

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

Preview Lab → · Contrast checker → · Palette generator →

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