#126D7E#126D7E

#126D7E is a mid, moderate teal. Relative luminance 0.126; OKLCH L 49.4% C 0.082 H 214.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#126D7E
RGBrgb(18, 109, 126)
HSLhsl(189, 75%, 28%)
HSVhsv(189, 86%, 49%)
CMYKcmyk(85.7%, 13.5%, 0%, 50.6%)
CIE-LABlab(42.11, -18.57, -16.56)
CIE-LCHlch(42.11, 24.89, 221.73°)
OKLaboklab(49.36% -0.0679 -0.0463)
OKLCHoklch(49.36% 0.082 214.3)
XYZxyz(9.4824, 12.5710, 21.6613)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126D7E #7E2312
analogous
#127E59 #126D7E #12377E
triadic
#126D7E #7E126D #6D7E12
tetradic
#126D7E #59127E #7E2312 #377E12
square
#126D7E #59127E #7E2312 #377E12
split-complementary
#126D7E #7E1237 #7E5912
monochromatic
#04171B #0A3F48 #126D7E #1A9BB4 #2AC4E1

Accessibility & contrast

On white

5.98
#126D7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#126D7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126D7E
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126D7E#FFFFFF#000000##FFFFFF
##126D7E1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61697F
Deuteranopia (green-blind)
#535F7E
Tritanopia (blue-blind)
#007372
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #126d7e;
/* rgb */ color: rgb(18, 109, 126);
/* oklch */ color: oklch(49.4% 0.082 214.3);
Tailwind
colors: {
  custom: {
    50: '#6697a3',
    500: '#126d7e',
    950: '#000000',
  },
}
SCSS
$custom: #126d7e;
$custom-light: #6697a3;
$custom-dark: #000000;
JSON
{
  "hex": "#126d7e",
  "rgb": {
    "r": 18,
    "g": 109,
    "b": 126
  },
  "hsl": {
    "h": 189.444,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49357,
    "c": 0.08214,
    "h": 214.3
  },
  "luminance": 0.12572
}

Semantic roles & 50–950 ramp

primary
#126D7E
secondary
#B44B38
accent
#5436F2
background
#F6F9FA
surface
#EBF2F3
border
#C6CCCD
text
#070D0F
muted
#7A7E7F

Preview Lab

Preview with #126D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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