#12707F#12707F

#12707F is a mid, moderate teal. Relative luminance 0.132; OKLCH L 50.2% C 0.083 H 211.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#12707F
RGBrgb(18, 112, 127)
HSLhsl(188, 75%, 28%)
HSVhsv(188, 86%, 50%)
CMYKcmyk(85.8%, 11.8%, 0%, 50.2%)
CIE-LABlab(43.13, -19.85, -15.60)
CIE-LCHlch(43.13, 25.25, 218.16°)
OKLaboklab(50.2% -0.0705 -0.0435)
OKLCHoklch(50.2% 0.083 211.7)
XYZxyz(9.8727, 13.2480, 22.1113)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12707F #7F2112
analogous
#127F57 #12707F #12397F
triadic
#12707F #7F1270 #707F12
tetradic
#12707F #57127F #7F2112 #397F12
square
#12707F #57127F #7F2112 #397F12
split-complementary
#12707F #7F1239 #7F5712
monochromatic
#04181B #0A4149 #12707F #1A9FB5 #2BC8E1

Accessibility & contrast

On white

5.75
#12707F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#12707F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12707F
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12707F#FFFFFF#000000##FFFFFF
##12707F1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646C80
Deuteranopia (green-blind)
#56617F
Tritanopia (blue-blind)
#007675
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #12707f;
/* rgb */ color: rgb(18, 112, 127);
/* oklch */ color: oklch(50.2% 0.083 211.7);
Tailwind
colors: {
  custom: {
    50: '#6799a4',
    500: '#12707f',
    950: '#000000',
  },
}
SCSS
$custom: #12707f;
$custom-light: #6799a4;
$custom-dark: #000000;
JSON
{
  "hex": "#12707f",
  "rgb": {
    "r": 18,
    "g": 112,
    "b": 127
  },
  "hsl": {
    "h": 188.257,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50197,
    "c": 0.08284,
    "h": 211.7
  },
  "luminance": 0.13249
}

Semantic roles & 50–950 ramp

primary
#12707F
secondary
#B54938
accent
#5036F2
background
#F6F9FA
surface
#EBF2F4
border
#C6CCCE
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #12707F

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

Preview Lab → · Contrast checker → · Palette generator →

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