#126A5A#126A5A

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

Color values

HEX#126A5A
RGBrgb(18, 106, 90)
HSLhsl(169, 71%, 24%)
HSVhsv(169, 83%, 42%)
CMYKcmyk(83%, 0%, 15.1%, 58.4%)
CIE-LABlab(39.87, -28.80, 1.94)
CIE-LCHlch(39.87, 28.86, 176.14°)
OKLaboklab(47.13% -0.0821 0.0047)
OKLCHoklch(47.13% 0.082 176.7)
XYZxyz(7.2480, 11.1740, 11.4457)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A5A #6A1222
analogous
#126A2E #126A5A #124E6A
triadic
#126A5A #5A126A #6A5A12
tetradic
#126A5A #2E126A #6A1222 #4E6A12
square
#126A5A #2E126A #6A1222 #4E6A12
split-complementary
#126A5A #6A124E #6A2E12
monochromatic
#041A16 #09362E #126A5A #1B9E86 #24D3B3

Accessibility & contrast

On white

6.49
#126A5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126A5A
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A5A#FFFFFF#000000##FFFFFF
##126A5A1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666359
Deuteranopia (green-blind)
#5A5B5B
Tritanopia (blue-blind)
#006C65
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #126a5a;
/* rgb */ color: rgb(18, 106, 90);
/* oklch */ color: oklch(47.1% 0.082 176.7);
Tailwind
colors: {
  custom: {
    50: '#629588',
    500: '#126a5a',
    950: '#000000',
  },
}
SCSS
$custom: #126a5a;
$custom-light: #629588;
$custom-dark: #000000;
JSON
{
  "hex": "#126a5a",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 90
  },
  "hsl": {
    "h": 169.091,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47131,
    "c": 0.08225,
    "h": 176.7
  },
  "luminance": 0.11175
}

Semantic roles & 50–950 ramp

primary
#126A5A
secondary
#A2364A
accent
#3A5BEE
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#060D0B
muted
#7A7E7C

Preview Lab

Preview with #126A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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