#12717C#12717C

#12717C is a mid, moderate teal. Relative luminance 0.134; OKLCH L 50.3% C 0.082 H 207.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#12717C
RGBrgb(18, 113, 124)
HSLhsl(186, 75%, 28%)
HSVhsv(186, 85%, 49%)
CMYKcmyk(85.5%, 8.9%, 0%, 51.4%)
CIE-LABlab(43.35, -21.43, -13.47)
CIE-LCHlch(43.35, 25.31, 212.16°)
OKLaboklab(50.33% -0.0728 -0.0375)
OKLCHoklch(50.33% 0.082 207.2)
XYZxyz(9.7911, 13.3928, 21.1339)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12717C #7C1D12
analogous
#127C52 #12717C #123C7C
triadic
#12717C #7C1271 #717C12
tetradic
#12717C #52127C #7C1D12 #3C7C12
square
#12717C #52127C #7C1D12 #3C7C12
split-complementary
#12717C #7C123C #7C5212
monochromatic
#04181B #0A4047 #12717C #1AA2B1 #29CDE0

Accessibility & contrast

On white

5.71
#12717C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#12717C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12717C
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12717C#FFFFFF#000000##FFFFFF
##12717C1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666C7D
Deuteranopia (green-blind)
#58627C
Tritanopia (blue-blind)
#007774
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #12717c;
/* rgb */ color: rgb(18, 113, 124);
/* oklch */ color: oklch(50.3% 0.082 207.2);
Tailwind
colors: {
  custom: {
    50: '#679aa1',
    500: '#12717c',
    950: '#000000',
  },
}
SCSS
$custom: #12717c;
$custom-light: #679aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#12717c",
  "rgb": {
    "r": 18,
    "g": 113,
    "b": 124
  },
  "hsl": {
    "h": 186.226,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50333,
    "c": 0.08194,
    "h": 207.2
  },
  "luminance": 0.13394
}

Semantic roles & 50–950 ramp

primary
#12717C
secondary
#B24438
accent
#4A37F1
background
#F6F9F9
surface
#EBF2F2
border
#C6CCCC
text
#070E0F
muted
#7A7E7E

Preview Lab

Preview with #12717C

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

Preview Lab → · Contrast checker → · Palette generator →

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