#126E7C#126E7C

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

Color values

HEX#126E7C
RGBrgb(18, 110, 124)
HSLhsl(188, 75%, 28%)
HSVhsv(188, 85%, 49%)
CMYKcmyk(85.5%, 11.3%, 0%, 51.4%)
CIE-LABlab(42.36, -19.82, -14.98)
CIE-LCHlch(42.36, 24.84, 217.07°)
OKLaboklab(49.53% -0.0698 -0.0418)
OKLCHoklch(49.53% 0.081 210.9)
XYZxyz(9.4619, 12.7345, 21.0242)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E7C #7C2012
analogous
#127C55 #126E7C #12397C
triadic
#126E7C #7C126E #6E7C12
tetradic
#126E7C #55127C #7C2012 #397C12
square
#126E7C #55127C #7C2012 #397C12
split-complementary
#126E7C #7C1239 #7C5512
monochromatic
#04181B #0A3F47 #126E7C #1A9DB1 #29C8E0

Accessibility & contrast

On white

5.92
#126E7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#126E7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126E7C
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126E7C#FFFFFF#000000##FFFFFF
##126E7C1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126e7c;
/* rgb */ color: rgb(18, 110, 124);
/* oklch */ color: oklch(49.5% 0.081 210.9);
Tailwind
colors: {
  custom: {
    50: '#6698a2',
    500: '#126e7c',
    950: '#000000',
  },
}
SCSS
$custom: #126e7c;
$custom-light: #6698a2;
$custom-dark: #000000;
JSON
{
  "hex": "#126e7c",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 124
  },
  "hsl": {
    "h": 187.925,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49533,
    "c": 0.08132,
    "h": 210.9
  },
  "luminance": 0.12736
}

Semantic roles & 50–950 ramp

primary
#126E7C
secondary
#B24838
accent
#4F37F1
background
#F6F9F9
surface
#EBF2F2
border
#C6CCCC
text
#070D0F
muted
#7A7E7E

Preview Lab

Preview with #126E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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