#12717F#12717F

#12717F is a mid, moderate teal. Relative luminance 0.135; OKLCH L 50.5% C 0.083 H 210.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#12717F
RGBrgb(18, 113, 127)
HSLhsl(188, 75%, 28%)
HSVhsv(188, 86%, 50%)
CMYKcmyk(85.8%, 11%, 0%, 50.2%)
CIE-LABlab(43.46, -20.39, -15.10)
CIE-LCHlch(43.46, 25.37, 216.52°)
OKLaboklab(50.46% -0.0715 -0.0421)
OKLCHoklch(50.46% 0.083 210.5)
XYZxyz(9.9837, 13.4699, 22.1483)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12717F #7F2012
analogous
#127F56 #12717F #123B7F
triadic
#12717F #7F1271 #717F12
tetradic
#12717F #56127F #7F2012 #3B7F12
square
#12717F #56127F #7F2012 #3B7F12
split-complementary
#12717F #7F123B #7F5612
monochromatic
#04181B #0A4149 #12717F #1AA1B5 #2BC9E1

Accessibility & contrast

On white

5.68
#12717F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#12717F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12717F
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12717F#FFFFFF#000000##FFFFFF
##12717F1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656D80
Deuteranopia (green-blind)
#57627F
Tritanopia (blue-blind)
#007775
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #12717f;
/* rgb */ color: rgb(18, 113, 127);
/* oklch */ color: oklch(50.5% 0.083 210.5);
Tailwind
colors: {
  custom: {
    50: '#679aa4',
    500: '#12717f',
    950: '#000000',
  },
}
SCSS
$custom: #12717f;
$custom-light: #679aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#12717f",
  "rgb": {
    "r": 18,
    "g": 113,
    "b": 127
  },
  "hsl": {
    "h": 187.706,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50462,
    "c": 0.08298,
    "h": 210.5
  },
  "luminance": 0.13471
}

Semantic roles & 50–950 ramp

primary
#12717F
secondary
#B54838
accent
#4E36F2
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #12717F

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

Preview Lab → · Contrast checker → · Palette generator →

#12717F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva