#12747F#12747F

#12747F is a mid, moderate teal. Relative luminance 0.142; OKLCH L 51.3% C 0.084 H 206.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#12747F
RGBrgb(18, 116, 127)
HSLhsl(186, 75%, 28%)
HSVhsv(186, 86%, 50%)
CMYKcmyk(85.8%, 8.7%, 0%, 50.2%)
CIE-LABlab(44.45, -21.99, -13.60)
CIE-LCHlch(44.45, 25.85, 211.74°)
OKLaboklab(51.26% -0.0745 -0.0379)
OKLCHoklch(51.26% 0.084 206.9)
XYZxyz(10.3239, 14.1504, 22.2617)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12747F #7F1D12
analogous
#127F53 #12747F #123D7F
triadic
#12747F #7F1274 #747F12
tetradic
#12747F #53127F #7F1D12 #3D7F12
square
#12747F #53127F #7F1D12 #3D7F12
split-complementary
#12747F #7F123D #7F5312
monochromatic
#04181B #0A4349 #12747F #1AA5B5 #2BCEE1

Accessibility & contrast

On white

5.48
#12747F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#12747F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12747F
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12747F#FFFFFF#000000##FFFFFF
##12747F1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696F80
Deuteranopia (green-blind)
#5B657F
Tritanopia (blue-blind)
#007A77
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #12747f;
/* rgb */ color: rgb(18, 116, 127);
/* oklch */ color: oklch(51.3% 0.084 206.9);
Tailwind
colors: {
  custom: {
    50: '#689ca4',
    500: '#12747f',
    950: '#000000',
  },
}
SCSS
$custom: #12747f;
$custom-light: #689ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#12747f",
  "rgb": {
    "r": 18,
    "g": 116,
    "b": 127
  },
  "hsl": {
    "h": 186.055,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51259,
    "c": 0.08363,
    "h": 206.9
  },
  "luminance": 0.14152
}

Semantic roles & 50–950 ramp

primary
#12747F
secondary
#B54538
accent
#4936F2
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #12747F

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

Preview Lab → · Contrast checker → · Palette generator →

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