#126C7A#126C7A

#126C7A is a mid, moderate teal. Relative luminance 0.123; OKLCH L 48.9% C 0.080 H 211.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#126C7A
RGBrgb(18, 108, 122)
HSLhsl(188, 74%, 27%)
HSVhsv(188, 85%, 48%)
CMYKcmyk(85.2%, 11.5%, 0%, 52.2%)
CIE-LABlab(41.62, -19.44, -14.89)
CIE-LCHlch(41.62, 24.49, 217.45°)
OKLaboklab(48.91% -0.0686 -0.0415)
OKLCHoklch(48.91% 0.08 211.2)
XYZxyz(9.1233, 12.2577, 20.2937)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126C7A #7A2012
analogous
#127A54 #126C7A #12387A
triadic
#126C7A #7A126C #6C7A12
tetradic
#126C7A #54127A #7A2012 #387A12
square
#126C7A #54127A #7A2012 #387A12
split-complementary
#126C7A #7A1238 #7A5412
monochromatic
#04181B #0A3D45 #126C7A #1A9BAF #27C6DF

Accessibility & contrast

On white

6.08
#126C7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#126C7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126C7A
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126C7A#FFFFFF#000000##FFFFFF
##126C7A1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61687B
Deuteranopia (green-blind)
#535E7A
Tritanopia (blue-blind)
#007270
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #126c7a;
/* rgb */ color: rgb(18, 108, 122);
/* oklch */ color: oklch(48.9% 0.080 211.2);
Tailwind
colors: {
  custom: {
    50: '#6696a0',
    500: '#126c7a',
    950: '#000000',
  },
}
SCSS
$custom: #126c7a;
$custom-light: #6696a0;
$custom-dark: #000000;
JSON
{
  "hex": "#126c7a",
  "rgb": {
    "r": 18,
    "g": 108,
    "b": 122
  },
  "hsl": {
    "h": 188.077,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48912,
    "c": 0.08021,
    "h": 211.2
  },
  "luminance": 0.12259
}

Semantic roles & 50–950 ramp

primary
#126C7A
secondary
#B04838
accent
#5037F1
background
#F6F9F9
surface
#EBF2F2
border
#C6CCCC
text
#070D0E
muted
#7A7E7E

Preview Lab

Preview with #126C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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