#126A5E#126A5E

#126A5E is a mid, moderate teal. Relative luminance 0.112; OKLCH L 47.3% C 0.080 H 181.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#126A5E
RGBrgb(18, 106, 94)
HSLhsl(172, 71%, 24%)
HSVhsv(172, 83%, 42%)
CMYKcmyk(83%, 0%, 11.3%, 58.4%)
CIE-LABlab(39.99, -27.61, -0.32)
CIE-LCHlch(39.99, 27.61, 180.67°)
OKLaboklab(47.27% -0.08 -0.0013)
OKLCHoklch(47.27% 0.08 181)
XYZxyz(7.4229, 11.2439, 12.3666)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A5E #6A121E
analogous
#126A32 #126A5E #124A6A
triadic
#126A5E #5E126A #6A5E12
tetradic
#126A5E #32126A #6A121E #4A6A12
square
#126A5E #32126A #6A121E #4A6A12
split-complementary
#126A5E #6A124A #6A3212
monochromatic
#041A17 #093630 #126A5E #1B9E8C #24D3BB

Accessibility & contrast

On white

6.46
#126A5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#126A5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A5E
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A5E#FFFFFF#000000##FFFFFF
##126A5E1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65635E
Deuteranopia (green-blind)
#595B5F
Tritanopia (blue-blind)
#006C66
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #126a5e;
/* rgb */ color: rgb(18, 106, 94);
/* oklch */ color: oklch(47.3% 0.080 181.0);
Tailwind
colors: {
  custom: {
    50: '#62958b',
    500: '#126a5e',
    950: '#000000',
  },
}
SCSS
$custom: #126a5e;
$custom-light: #62958b;
$custom-dark: #000000;
JSON
{
  "hex": "#126a5e",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 94
  },
  "hsl": {
    "h": 171.818,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47265,
    "c": 0.08006,
    "h": 181
  },
  "luminance": 0.11245
}

Semantic roles & 50–950 ramp

primary
#126A5E
secondary
#A23645
accent
#3A53EE
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#060D0C
muted
#7A7E7D

Preview Lab

Preview with #126A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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