#126371#126371

#126371 is a mid, moderate teal. Relative luminance 0.102; OKLCH L 46.1% C 0.075 H 212.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#126371
RGBrgb(18, 99, 113)
HSLhsl(189, 73%, 26%)
HSVhsv(189, 84%, 44%)
CMYKcmyk(84.1%, 12.4%, 0%, 55.7%)
CIE-LABlab(38.28, -17.69, -14.52)
CIE-LCHlch(38.28, 22.88, 219.38°)
OKLaboklab(46.09% -0.0633 -0.0405)
OKLCHoklch(46.09% 0.075 212.6)
XYZxyz(7.6906, 10.2436, 17.1915)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126371 #712012
analogous
#12714F #126371 #123371
triadic
#126371 #711263 #637112
tetradic
#126371 #4F1271 #712012 #337112
square
#126371 #4F1271 #712012 #337112
split-complementary
#126371 #711233 #714F12
monochromatic
#04171A #0A353C #126371 #1A91A6 #23BFDB

Accessibility & contrast

On white

6.89
#126371 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#126371 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126371
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126371#FFFFFF#000000##FFFFFF
##1263711.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585F72
Deuteranopia (green-blind)
#4C5671
Tritanopia (blue-blind)
#006967
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #126371;
/* rgb */ color: rgb(18, 99, 113);
/* oklch */ color: oklch(46.1% 0.075 212.6);
Tailwind
colors: {
  custom: {
    50: '#638f99',
    500: '#126371',
    950: '#000000',
  },
}
SCSS
$custom: #126371;
$custom-light: #638f99;
$custom-dark: #000000;
JSON
{
  "hex": "#126371",
  "rgb": {
    "r": 18,
    "g": 99,
    "b": 113
  },
  "hsl": {
    "h": 188.842,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46092,
    "c": 0.07514,
    "h": 212.6
  },
  "luminance": 0.10245
}

Semantic roles & 50–950 ramp

primary
#126371
secondary
#A84837
accent
#5339EF
background
#F6F8F9
surface
#EBF0F2
border
#C6CBCC
text
#060C0E
muted
#7A7D7E

Preview Lab

Preview with #126371

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

Preview Lab → · Contrast checker → · Palette generator →

#126371 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva