#126A5B#126A5B

#126A5B is a mid, moderate teal. Relative luminance 0.112; OKLCH L 47.2% C 0.082 H 177.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#126A5B
RGBrgb(18, 106, 91)
HSLhsl(170, 71%, 24%)
HSVhsv(170, 83%, 42%)
CMYKcmyk(83%, 0%, 14.2%, 58.4%)
CIE-LABlab(39.90, -28.50, 1.37)
CIE-LCHlch(39.90, 28.54, 177.24°)
OKLaboklab(47.16% -0.0816 0.0032)
OKLCHoklch(47.16% 0.082 177.8)
XYZxyz(7.2909, 11.1911, 11.6713)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A5B #6A1221
analogous
#126A2F #126A5B #124D6A
triadic
#126A5B #5B126A #6A5B12
tetradic
#126A5B #2F126A #6A1221 #4D6A12
square
#126A5B #2F126A #6A1221 #4D6A12
split-complementary
#126A5B #6A124D #6A2F12
monochromatic
#041A16 #09362E #126A5B #1B9E88 #24D3B5

Accessibility & contrast

On white

6.48
#126A5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#126A5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A5B
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A5B#FFFFFF#000000##FFFFFF
##126A5B1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65635A
Deuteranopia (green-blind)
#5A5B5C
Tritanopia (blue-blind)
#006C65
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #126a5b;
/* rgb */ color: rgb(18, 106, 91);
/* oklch */ color: oklch(47.2% 0.082 177.8);
Tailwind
colors: {
  custom: {
    50: '#629589',
    500: '#126a5b',
    950: '#000000',
  },
}
SCSS
$custom: #126a5b;
$custom-light: #629589;
$custom-dark: #000000;
JSON
{
  "hex": "#126a5b",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 91
  },
  "hsl": {
    "h": 169.773,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47164,
    "c": 0.08166,
    "h": 177.8
  },
  "luminance": 0.11192
}

Semantic roles & 50–950 ramp

primary
#126A5B
secondary
#A23649
accent
#3A59EE
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#060D0B
muted
#7A7E7C

Preview Lab

Preview with #126A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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