#126C7C#126C7C

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

Color values

HEX#126C7C
RGBrgb(18, 108, 124)
HSLhsl(189, 75%, 28%)
HSVhsv(189, 85%, 49%)
CMYKcmyk(85.5%, 12.9%, 0%, 51.4%)
CIE-LABlab(41.70, -18.74, -15.98)
CIE-LCHlch(41.70, 24.63, 220.46°)
OKLaboklab(49% -0.0677 -0.0446)
OKLCHoklch(49% 0.081 213.4)
XYZxyz(9.2485, 12.3078, 20.9531)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126C7C #7C2212
analogous
#127C57 #126C7C #12377C
triadic
#126C7C #7C126C #6C7C12
tetradic
#126C7C #57127C #7C2212 #377C12
square
#126C7C #57127C #7C2212 #377C12
split-complementary
#126C7C #7C1237 #7C5712
monochromatic
#04171B #0A3D47 #126C7C #1A9BB1 #29C4E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126C7C#FFFFFF#000000##FFFFFF
##126C7C1.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)
#60687D
Deuteranopia (green-blind)
#525E7C
Tritanopia (blue-blind)
#007271
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #126c7c;
/* rgb */ color: rgb(18, 108, 124);
/* oklch */ color: oklch(49.0% 0.081 213.4);
Tailwind
colors: {
  custom: {
    50: '#6696a2',
    500: '#126c7c',
    950: '#000000',
  },
}
SCSS
$custom: #126c7c;
$custom-light: #6696a2;
$custom-dark: #000000;
JSON
{
  "hex": "#126c7c",
  "rgb": {
    "r": 18,
    "g": 108,
    "b": 124
  },
  "hsl": {
    "h": 189.057,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49001,
    "c": 0.0811,
    "h": 213.4
  },
  "luminance": 0.12309
}

Semantic roles & 50–950 ramp

primary
#126C7C
secondary
#B24A38
accent
#5337F1
background
#F6F9F9
surface
#EBF2F2
border
#C6CCCC
text
#070D0F
muted
#7A7E7E

Preview Lab

Preview with #126C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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