#126D7D#126D7D

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

Color values

HEX#126D7D
RGBrgb(18, 109, 125)
HSLhsl(189, 75%, 28%)
HSVhsv(189, 86%, 49%)
CMYKcmyk(85.6%, 12.8%, 0%, 51%)
CIE-LABlab(42.07, -18.93, -16.02)
CIE-LCHlch(42.07, 24.80, 220.25°)
OKLaboklab(49.31% -0.0683 -0.0447)
OKLCHoklch(49.31% 0.082 213.2)
XYZxyz(9.4182, 12.5453, 21.3232)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126D7D #7D2212
analogous
#127D57 #126D7D #12377D
triadic
#126D7D #7D126D #6D7D12
tetradic
#126D7D #57127D #7D2212 #377D12
square
#126D7D #57127D #7D2212 #377D12
split-complementary
#126D7D #7D1237 #7D5712
monochromatic
#04171B #0A3E48 #126D7D #1A9CB2 #29C5E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126D7D#FFFFFF#000000##FFFFFF
##126D7D1.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)
#61697E
Deuteranopia (green-blind)
#535F7D
Tritanopia (blue-blind)
#007372
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #126d7d;
/* rgb */ color: rgb(18, 109, 125);
/* oklch */ color: oklch(49.3% 0.082 213.2);
Tailwind
colors: {
  custom: {
    50: '#6697a2',
    500: '#126d7d',
    950: '#000000',
  },
}
SCSS
$custom: #126d7d;
$custom-light: #6697a2;
$custom-dark: #000000;
JSON
{
  "hex": "#126d7d",
  "rgb": {
    "r": 18,
    "g": 109,
    "b": 125
  },
  "hsl": {
    "h": 188.972,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49312,
    "c": 0.08165,
    "h": 213.2
  },
  "luminance": 0.12547
}

Semantic roles & 50–950 ramp

primary
#126D7D
secondary
#B34A38
accent
#5236F1
background
#F6F9FA
surface
#EBF2F3
border
#C6CCCD
text
#070D0F
muted
#7A7E7F

Preview Lab

Preview with #126D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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