#12727F#12727F

#12727F is a mid, moderate teal. Relative luminance 0.137; OKLCH L 50.7% C 0.083 H 209.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#12727F
RGBrgb(18, 114, 127)
HSLhsl(187, 75%, 28%)
HSVhsv(187, 86%, 50%)
CMYKcmyk(85.8%, 10.2%, 0%, 50.2%)
CIE-LABlab(43.79, -20.93, -14.60)
CIE-LCHlch(43.79, 25.52, 214.90°)
OKLaboklab(50.73% -0.0725 -0.0407)
OKLCHoklch(50.73% 0.083 209.3)
XYZxyz(10.0958, 13.6942, 22.1857)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12727F #7F1F12
analogous
#127F55 #12727F #123B7F
triadic
#12727F #7F1272 #727F12
tetradic
#12727F #55127F #7F1F12 #3B7F12
square
#12727F #55127F #7F1F12 #3B7F12
split-complementary
#12727F #7F123B #7F5512
monochromatic
#04181B #0A4249 #12727F #1AA2B5 #2BCBE1

Accessibility & contrast

On white

5.62
#12727F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#12727F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12727F
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12727F#FFFFFF#000000##FFFFFF
##12727F1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676D80
Deuteranopia (green-blind)
#58637F
Tritanopia (blue-blind)
#007876
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #12727f;
/* rgb */ color: rgb(18, 114, 127);
/* oklch */ color: oklch(50.7% 0.083 209.3);
Tailwind
colors: {
  custom: {
    50: '#679ba4',
    500: '#12727f',
    950: '#000000',
  },
}
SCSS
$custom: #12727f;
$custom-light: #679ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#12727f",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 127
  },
  "hsl": {
    "h": 187.156,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50728,
    "c": 0.08316,
    "h": 209.3
  },
  "luminance": 0.13696
}

Semantic roles & 50–950 ramp

primary
#12727F
secondary
#B54738
accent
#4C36F2
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #12727F

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

Preview Lab → · Contrast checker → · Palette generator →

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