#126F7E#126F7E

#126F7E is a mid, moderate teal. Relative luminance 0.130; OKLCH L 49.9% C 0.082 H 211.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#126F7E
RGBrgb(18, 111, 126)
HSLhsl(188, 75%, 28%)
HSVhsv(188, 86%, 49%)
CMYKcmyk(85.7%, 11.9%, 0%, 50.6%)
CIE-LABlab(42.77, -19.66, -15.56)
CIE-LCHlch(42.77, 25.08, 218.36°)
OKLaboklab(49.89% -0.0699 -0.0434)
OKLCHoklch(49.89% 0.082 211.8)
XYZxyz(9.6981, 13.0026, 21.7332)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F7E #7E2112
analogous
#127E57 #126F7E #12397E
triadic
#126F7E #7E126F #6F7E12
tetradic
#126F7E #57127E #7E2112 #397E12
square
#126F7E #57127E #7E2112 #397E12
split-complementary
#126F7E #7E1239 #7E5712
monochromatic
#04181B #0A4048 #126F7E #1A9EB4 #2AC7E1

Accessibility & contrast

On white

5.83
#126F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#126F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F7E
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F7E#FFFFFF#000000##FFFFFF
##126F7E1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636B7F
Deuteranopia (green-blind)
#55617E
Tritanopia (blue-blind)
#007574
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #126f7e;
/* rgb */ color: rgb(18, 111, 126);
/* oklch */ color: oklch(49.9% 0.082 211.8);
Tailwind
colors: {
  custom: {
    50: '#6798a3',
    500: '#126f7e',
    950: '#000000',
  },
}
SCSS
$custom: #126f7e;
$custom-light: #6798a3;
$custom-dark: #000000;
JSON
{
  "hex": "#126f7e",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 126
  },
  "hsl": {
    "h": 188.333,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49888,
    "c": 0.08229,
    "h": 211.8
  },
  "luminance": 0.13004
}

Semantic roles & 50–950 ramp

primary
#126F7E
secondary
#B44938
accent
#5036F2
background
#F6F9FA
surface
#EBF2F3
border
#C6CCCD
text
#070D0F
muted
#7A7E7F

Preview Lab

Preview with #126F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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