#126A5C#126A5C

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

Color values

HEX#126A5C
RGBrgb(18, 106, 92)
HSLhsl(170, 71%, 24%)
HSVhsv(170, 83%, 42%)
CMYKcmyk(83%, 0%, 13.2%, 58.4%)
CIE-LABlab(39.93, -28.21, 0.81)
CIE-LCHlch(39.93, 28.22, 178.36°)
OKLaboklab(47.2% -0.0811 0.0017)
OKLCHoklch(47.2% 0.081 178.8)
XYZxyz(7.3343, 11.2085, 11.9000)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A5C #6A1220
analogous
#126A30 #126A5C #124C6A
triadic
#126A5C #5C126A #6A5C12
tetradic
#126A5C #30126A #6A1220 #4C6A12
square
#126A5C #30126A #6A1220 #4C6A12
split-complementary
#126A5C #6A124C #6A3012
monochromatic
#041A17 #09362F #126A5C #1B9E89 #24D3B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126A5C#FFFFFF#000000##FFFFFF
##126A5C1.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)
#65635B
Deuteranopia (green-blind)
#5A5B5D
Tritanopia (blue-blind)
#006C66
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #126a5c;
/* rgb */ color: rgb(18, 106, 92);
/* oklch */ color: oklch(47.2% 0.081 178.8);
Tailwind
colors: {
  custom: {
    50: '#62958a',
    500: '#126a5c',
    950: '#000000',
  },
}
SCSS
$custom: #126a5c;
$custom-light: #62958a;
$custom-dark: #000000;
JSON
{
  "hex": "#126a5c",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 92
  },
  "hsl": {
    "h": 170.455,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47197,
    "c": 0.0811,
    "h": 178.8
  },
  "luminance": 0.11209
}

Semantic roles & 50–950 ramp

primary
#126A5C
secondary
#A23647
accent
#3A57EE
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#060D0B
muted
#7A7E7C

Preview Lab

Preview with #126A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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