#126C7D#126C7D

#126C7D is a mid, moderate teal. Relative luminance 0.123; OKLCH L 49.0% C 0.082 H 214.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#126C7D
RGBrgb(18, 108, 125)
HSLhsl(190, 75%, 28%)
HSVhsv(190, 86%, 49%)
CMYKcmyk(85.6%, 13.6%, 0%, 51%)
CIE-LABlab(41.74, -18.38, -16.53)
CIE-LCHlch(41.74, 24.72, 221.96°)
OKLaboklab(49.05% -0.0673 -0.0462)
OKLCHoklch(49.05% 0.082 214.5)
XYZxyz(9.3121, 12.3332, 21.2878)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126C7D #7D2312
analogous
#127D58 #126C7D #12367D
triadic
#126C7D #7D126C #6C7D12
tetradic
#126C7D #58127D #7D2312 #367D12
square
#126C7D #58127D #7D2312 #367D12
split-complementary
#126C7D #7D1236 #7D5812
monochromatic
#04171B #0A3E48 #126C7D #1A9AB2 #29C3E0

Accessibility & contrast

On white

6.06
#126C7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#126C7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126C7D
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126C7D#FFFFFF#000000##FFFFFF
##126C7D1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60687E
Deuteranopia (green-blind)
#525E7D
Tritanopia (blue-blind)
#007271
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #126c7d;
/* rgb */ color: rgb(18, 108, 125);
/* oklch */ color: oklch(49.0% 0.082 214.5);
Tailwind
colors: {
  custom: {
    50: '#6696a2',
    500: '#126c7d',
    950: '#000000',
  },
}
SCSS
$custom: #126c7d;
$custom-light: #6696a2;
$custom-dark: #000000;
JSON
{
  "hex": "#126c7d",
  "rgb": {
    "r": 18,
    "g": 108,
    "b": 125
  },
  "hsl": {
    "h": 189.533,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49046,
    "c": 0.0816,
    "h": 214.5
  },
  "luminance": 0.12334
}

Semantic roles & 50–950 ramp

primary
#126C7D
secondary
#B34B38
accent
#5436F1
background
#F6F9FA
surface
#EBF2F3
border
#C6CCCD
text
#070D0F
muted
#7A7E7F

Preview Lab

Preview with #126C7D

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

Preview Lab → · Contrast checker → · Palette generator →

#126C7D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva