#126E7E#126E7E

#126E7E is a mid, moderate teal. Relative luminance 0.128; OKLCH L 49.6% C 0.082 H 213.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#126E7E
RGBrgb(18, 110, 126)
HSLhsl(189, 75%, 28%)
HSVhsv(189, 86%, 49%)
CMYKcmyk(85.7%, 12.7%, 0%, 50.6%)
CIE-LABlab(42.44, -19.12, -16.06)
CIE-LCHlch(42.44, 24.97, 220.03°)
OKLaboklab(49.62% -0.0689 -0.0448)
OKLCHoklch(49.62% 0.082 213.1)
XYZxyz(9.5896, 12.7856, 21.6971)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E7E #7E2212
analogous
#127E58 #126E7E #12387E
triadic
#126E7E #7E126E #6E7E12
tetradic
#126E7E #58127E #7E2212 #387E12
square
#126E7E #58127E #7E2212 #387E12
split-complementary
#126E7E #7E1238 #7E5812
monochromatic
#04171B #0A3F48 #126E7E #1A9DB4 #2AC5E1

Accessibility & contrast

On white

5.90
#126E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126E7E
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126E7E#FFFFFF#000000##FFFFFF
##126E7E1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126e7e;
/* rgb */ color: rgb(18, 110, 126);
/* oklch */ color: oklch(49.6% 0.082 213.1);
Tailwind
colors: {
  custom: {
    50: '#6798a3',
    500: '#126e7e',
    950: '#000000',
  },
}
SCSS
$custom: #126e7e;
$custom-light: #6798a3;
$custom-dark: #000000;
JSON
{
  "hex": "#126e7e",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 126
  },
  "hsl": {
    "h": 188.889,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49622,
    "c": 0.0822,
    "h": 213.1
  },
  "luminance": 0.12787
}

Semantic roles & 50–950 ramp

primary
#126E7E
secondary
#B44A38
accent
#5236F2
background
#F6F9FA
surface
#EBF2F3
border
#C6CCCD
text
#070D0F
muted
#7A7E7F

Preview Lab

Preview with #126E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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