#126A7B#126A7B

#126A7B is a mid, moderate teal. Relative luminance 0.119; OKLCH L 48.4% C 0.081 H 214.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#126A7B
RGBrgb(18, 106, 123)
HSLhsl(190, 74%, 28%)
HSVhsv(190, 85%, 48%)
CMYKcmyk(85.4%, 13.8%, 0%, 51.8%)
CIE-LABlab(41.00, -17.99, -16.45)
CIE-LCHlch(41.00, 24.38, 222.43°)
OKLaboklab(48.42% -0.0661 -0.0459)
OKLCHoklch(48.42% 0.081 214.8)
XYZxyz(8.9771, 11.8656, 20.5522)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A7B #7B2312
analogous
#127B57 #126A7B #12367B
triadic
#126A7B #7B126A #6A7B12
tetradic
#126A7B #57127B #7B2312 #367B12
square
#126A7B #57127B #7B2312 #367B12
split-complementary
#126A7B #7B1236 #7B5712
monochromatic
#04171B #0A3C46 #126A7B #1A98B0 #28C2E0

Accessibility & contrast

On white

6.23
#126A7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#126A7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A7B
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A7B#FFFFFF#000000##FFFFFF
##126A7B1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E667C
Deuteranopia (green-blind)
#505C7B
Tritanopia (blue-blind)
#00706F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #126a7b;
/* rgb */ color: rgb(18, 106, 123);
/* oklch */ color: oklch(48.4% 0.081 214.8);
Tailwind
colors: {
  custom: {
    50: '#6695a1',
    500: '#126a7b',
    950: '#000000',
  },
}
SCSS
$custom: #126a7b;
$custom-light: #6695a1;
$custom-dark: #000000;
JSON
{
  "hex": "#126a7b",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 123
  },
  "hsl": {
    "h": 189.714,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48423,
    "c": 0.08052,
    "h": 214.8
  },
  "luminance": 0.11867
}

Semantic roles & 50–950 ramp

primary
#126A7B
secondary
#B14B38
accent
#5537F1
background
#F6F9F9
surface
#EBF1F2
border
#C6CBCC
text
#070D0F
muted
#7A7E7E

Preview Lab

Preview with #126A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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