#126C7B#126C7B

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

Color values

HEX#126C7B
RGBrgb(18, 108, 123)
HSLhsl(189, 74%, 28%)
HSVhsv(189, 85%, 48%)
CMYKcmyk(85.4%, 12.2%, 0%, 51.8%)
CIE-LABlab(41.66, -19.09, -15.44)
CIE-LCHlch(41.66, 24.55, 218.96°)
OKLaboklab(48.96% -0.0682 -0.0431)
OKLCHoklch(48.96% 0.081 212.3)
XYZxyz(9.1856, 12.2826, 20.6217)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126C7B #7B2112
analogous
#127B55 #126C7B #12387B
triadic
#126C7B #7B126C #6C7B12
tetradic
#126C7B #55127B #7B2112 #387B12
square
#126C7B #55127B #7B2112 #387B12
split-complementary
#126C7B #7B1238 #7B5512
monochromatic
#04171B #0A3D46 #126C7B #1A9BB0 #28C5E0

Accessibility & contrast

On white

6.07
#126C7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#126C7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126C7B
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126C7B#FFFFFF#000000##FFFFFF
##126C7B1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60687C
Deuteranopia (green-blind)
#535E7B
Tritanopia (blue-blind)
#007271
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #126c7b;
/* rgb */ color: rgb(18, 108, 123);
/* oklch */ color: oklch(49.0% 0.081 212.3);
Tailwind
colors: {
  custom: {
    50: '#6696a1',
    500: '#126c7b',
    950: '#000000',
  },
}
SCSS
$custom: #126c7b;
$custom-light: #6696a1;
$custom-dark: #000000;
JSON
{
  "hex": "#126c7b",
  "rgb": {
    "r": 18,
    "g": 108,
    "b": 123
  },
  "hsl": {
    "h": 188.571,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48956,
    "c": 0.08064,
    "h": 212.3
  },
  "luminance": 0.12284
}

Semantic roles & 50–950 ramp

primary
#126C7B
secondary
#B14938
accent
#5137F1
background
#F6F9F9
surface
#EBF2F2
border
#C6CCCC
text
#070D0F
muted
#7A7E7E

Preview Lab

Preview with #126C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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