#126E7B#126E7B

#126E7B is a mid, moderate teal. Relative luminance 0.127; OKLCH L 49.5% C 0.081 H 209.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#126E7B
RGBrgb(18, 110, 123)
HSLhsl(187, 74%, 28%)
HSVhsv(187, 85%, 48%)
CMYKcmyk(85.4%, 10.6%, 0%, 51.8%)
CIE-LABlab(42.32, -20.17, -14.43)
CIE-LCHlch(42.32, 24.80, 215.58°)
OKLaboklab(49.49% -0.0702 -0.0402)
OKLCHoklch(49.49% 0.081 209.8)
XYZxyz(9.3990, 12.7093, 20.6928)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E7B #7B1F12
analogous
#127B54 #126E7B #12397B
triadic
#126E7B #7B126E #6E7B12
tetradic
#126E7B #54127B #7B1F12 #397B12
square
#126E7B #54127B #7B1F12 #397B12
split-complementary
#126E7B #7B1239 #7B5412
monochromatic
#04181B #0A3E46 #126E7B #1A9EB0 #28C9E0

Accessibility & contrast

On white

5.93
#126E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#126E7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126E7B
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126E7B#FFFFFF#000000##FFFFFF
##126E7B1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636A7C
Deuteranopia (green-blind)
#55607B
Tritanopia (blue-blind)
#007472
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #126e7b;
/* rgb */ color: rgb(18, 110, 123);
/* oklch */ color: oklch(49.5% 0.081 209.8);
Tailwind
colors: {
  custom: {
    50: '#6698a1',
    500: '#126e7b',
    950: '#000000',
  },
}
SCSS
$custom: #126e7b;
$custom-light: #6698a1;
$custom-dark: #000000;
JSON
{
  "hex": "#126e7b",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 123
  },
  "hsl": {
    "h": 187.429,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49489,
    "c": 0.08093,
    "h": 209.8
  },
  "luminance": 0.12711
}

Semantic roles & 50–950 ramp

primary
#126E7B
secondary
#B14738
accent
#4E37F1
background
#F6F9F9
surface
#EBF2F2
border
#C6CCCC
text
#070D0E
muted
#7A7E7E

Preview Lab

Preview with #126E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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