#126871#126871

#126871 is a mid, moderate teal. Relative luminance 0.112; OKLCH L 47.4% C 0.076 H 205.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#126871
RGBrgb(18, 104, 113)
HSLhsl(186, 73%, 26%)
HSVhsv(186, 84%, 44%)
CMYKcmyk(84.1%, 8%, 0%, 55.7%)
CIE-LABlab(39.95, -20.42, -11.97)
CIE-LCHlch(39.95, 23.67, 210.39°)
OKLaboklab(47.45% -0.0685 -0.0333)
OKLCHoklch(47.45% 0.076 205.9)
XYZxyz(8.1791, 11.2205, 17.3543)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126871 #711B12
analogous
#12714A #126871 #123871
triadic
#126871 #711268 #687112
tetradic
#126871 #4A1271 #711B12 #387112
square
#126871 #4A1271 #711B12 #387112
split-complementary
#126871 #711238 #714A12
monochromatic
#04181A #0A373C #126871 #1A99A6 #23C9DB

Accessibility & contrast

On white

6.47
#126871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#126871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126871
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126871#FFFFFF#000000##FFFFFF
##1268711.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6372
Deuteranopia (green-blind)
#525A71
Tritanopia (blue-blind)
#006D6B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #126871;
/* rgb */ color: rgb(18, 104, 113);
/* oklch */ color: oklch(47.4% 0.076 205.9);
Tailwind
colors: {
  custom: {
    50: '#649399',
    500: '#126871',
    950: '#000000',
  },
}
SCSS
$custom: #126871;
$custom-light: #649399;
$custom-dark: #000000;
JSON
{
  "hex": "#126871",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 113
  },
  "hsl": {
    "h": 185.684,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47445,
    "c": 0.07622,
    "h": 205.9
  },
  "luminance": 0.11221
}

Semantic roles & 50–950 ramp

primary
#126871
secondary
#A84237
accent
#4A39EF
background
#F6F9F9
surface
#EBF1F2
border
#C6CBCC
text
#060D0E
muted
#7A7E7E

Preview Lab

Preview with #126871

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

Preview Lab → · Contrast checker → · Palette generator →

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