#126E7F#126E7F

#126E7F is a mid, moderate teal. Relative luminance 0.128; OKLCH L 49.7% C 0.083 H 214.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#126E7F
RGBrgb(18, 110, 127)
HSLhsl(189, 75%, 28%)
HSVhsv(189, 86%, 50%)
CMYKcmyk(85.8%, 13.4%, 0%, 50.2%)
CIE-LABlab(42.48, -18.77, -16.60)
CIE-LCHlch(42.48, 25.06, 221.50°)
OKLaboklab(49.67% -0.0684 -0.0464)
OKLCHoklch(49.67% 0.083 214.1)
XYZxyz(9.6545, 12.8115, 22.0386)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E7F #7F2312
analogous
#127F59 #126E7F #12377F
triadic
#126E7F #7F126E #6E7F12
tetradic
#126E7F #59127F #7F2312 #377F12
square
#126E7F #59127F #7F2312 #377F12
split-complementary
#126E7F #7F1237 #7F5912
monochromatic
#04171B #0A4049 #126E7F #1A9CB5 #2BC4E1

Accessibility & contrast

On white

5.89
#126E7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#126E7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126E7F
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126E7F#FFFFFF#000000##FFFFFF
##126E7F1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626A80
Deuteranopia (green-blind)
#54607F
Tritanopia (blue-blind)
#007473
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #126e7f;
/* rgb */ color: rgb(18, 110, 127);
/* oklch */ color: oklch(49.7% 0.083 214.1);
Tailwind
colors: {
  custom: {
    50: '#6797a4',
    500: '#126e7f',
    950: '#000000',
  },
}
SCSS
$custom: #126e7f;
$custom-light: #6797a4;
$custom-dark: #000000;
JSON
{
  "hex": "#126e7f",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 127
  },
  "hsl": {
    "h": 189.358,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49667,
    "c": 0.08268,
    "h": 214.1
  },
  "luminance": 0.12813
}

Semantic roles & 50–950 ramp

primary
#126E7F
secondary
#B54C38
accent
#5336F2
background
#F6F9FA
surface
#EBF2F4
border
#C6CCCE
text
#070D0F
muted
#7A7E7F

Preview Lab

Preview with #126E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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