#126874#126874

#126874 is a mid, moderate teal. Relative luminance 0.113; OKLCH L 47.6% C 0.077 H 209.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#126874
RGBrgb(18, 104, 116)
HSLhsl(187, 73%, 26%)
HSVhsv(187, 84%, 45%)
CMYKcmyk(84.5%, 10.3%, 0%, 54.5%)
CIE-LABlab(40.06, -19.37, -13.63)
CIE-LCHlch(40.06, 23.69, 215.13°)
OKLaboklab(47.58% -0.0672 -0.038)
OKLCHoklch(47.58% 0.077 209.5)
XYZxyz(8.3508, 11.2891, 18.2585)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126874 #741E12
analogous
#12744F #126874 #123774
triadic
#126874 #741268 #687412
tetradic
#126874 #4F1274 #741E12 #377412
square
#126874 #4F1274 #741E12 #377412
split-complementary
#126874 #741237 #744F12
monochromatic
#04181A #0A393F #126874 #1A98A9 #23C6DD

Accessibility & contrast

On white

6.45
#126874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#126874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126874
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126874#FFFFFF#000000##FFFFFF
##1268741.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6475
Deuteranopia (green-blind)
#515A74
Tritanopia (blue-blind)
#006D6C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #126874;
/* rgb */ color: rgb(18, 104, 116);
/* oklch */ color: oklch(47.6% 0.077 209.5);
Tailwind
colors: {
  custom: {
    50: '#64939c',
    500: '#126874',
    950: '#000000',
  },
}
SCSS
$custom: #126874;
$custom-light: #64939c;
$custom-dark: #000000;
JSON
{
  "hex": "#126874",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 116
  },
  "hsl": {
    "h": 187.347,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47575,
    "c": 0.07716,
    "h": 209.5
  },
  "luminance": 0.1129
}

Semantic roles & 50–950 ramp

primary
#126874
secondary
#AB4537
accent
#4E38F0
background
#F6F9F9
surface
#EBF1F2
border
#C6CBCC
text
#060D0E
muted
#7A7E7E

Preview Lab

Preview with #126874

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

Preview Lab → · Contrast checker → · Palette generator →

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