#12807E#12807E

#12807E is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.4% C 0.090 H 192.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#12807E
RGBrgb(18, 128, 126)
HSLhsl(179, 75%, 29%)
HSVhsv(179, 86%, 50%)
CMYKcmyk(85.9%, 0%, 1.6%, 49.8%)
CIE-LABlab(48.35, -28.42, -7.14)
CIE-LCHlch(48.35, 29.30, 194.10°)
OKLaboklab(54.42% -0.0873 -0.0199)
OKLCHoklch(54.42% 0.09 192.9)
XYZxyz(11.7327, 17.0718, 22.4114)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12807E #801214
analogous
#128047 #12807E #124B80
triadic
#12807E #7E1280 #807E12
tetradic
#12807E #471280 #801214 #4B8012
square
#12807E #471280 #801214 #4B8012
split-complementary
#12807E #80124B #804712
monochromatic
#041B1A #0A4A49 #12807E #1AB6B3 #2BE1DE

Accessibility & contrast

On white

4.76
#12807E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#12807E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12807E
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12807E#FFFFFF#000000##FFFFFF
##12807E1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77797E
Deuteranopia (green-blind)
#696E7F
Tritanopia (blue-blind)
#00847F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #12807e;
/* rgb */ color: rgb(18, 128, 126);
/* oklch */ color: oklch(54.4% 0.090 192.9);
Tailwind
colors: {
  custom: {
    50: '#69a5a3',
    500: '#12807e',
    950: '#000000',
  },
}
SCSS
$custom: #12807e;
$custom-light: #69a5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#12807e",
  "rgb": {
    "r": 18,
    "g": 128,
    "b": 126
  },
  "hsl": {
    "h": 178.909,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54416,
    "c": 0.08951,
    "h": 192.9
  },
  "luminance": 0.17073
}

Semantic roles & 50–950 ramp

primary
#12807E
secondary
#B6383A
accent
#3639F2
background
#F6FAFA
surface
#ECF4F3
border
#C7CECD
text
#080F0F
muted
#7A7F7F

Preview Lab

Preview with #12807E

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

Preview Lab → · Contrast checker → · Palette generator →

#12807E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva