#12798A#12798A

#12798A is a mid, moderate teal. Relative luminance 0.156; OKLCH L 53.1% C 0.089 H 212.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#12798A
RGBrgb(18, 121, 138)
HSLhsl(189, 77%, 31%)
HSVhsv(189, 87%, 54%)
CMYKcmyk(87%, 12.3%, 0%, 45.9%)
CIE-LABlab(46.49, -20.84, -17.03)
CIE-LCHlch(46.49, 26.92, 219.25°)
OKLaboklab(53.05% -0.0747 -0.0475)
OKLCHoklch(53.05% 0.089 212.5)
XYZxyz(11.6723, 15.6368, 26.4428)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12798A #8A2312
analogous
#128A5F #12798A #123D8A
triadic
#12798A #8A1279 #798A12
tetradic
#12798A #5F128A #8A2312 #3D8A12
square
#12798A #5F128A #8A2312 #3D8A12
split-complementary
#12798A #8A123D #8A5F12
monochromatic
#041A1E #0B4A54 #12798A #19A8C0 #32CBE4

Accessibility & contrast

On white

5.09
#12798A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#12798A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12798A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12798A#FFFFFF#000000##FFFFFF
##12798A1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C748B
Deuteranopia (green-blind)
#5D698A
Tritanopia (blue-blind)
#00807E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #12798a;
/* rgb */ color: rgb(18, 121, 138);
/* oklch */ color: oklch(53.1% 0.089 212.5);
Tailwind
colors: {
  custom: {
    50: '#6aa0ac',
    500: '#12798a',
    950: '#000000',
  },
}
SCSS
$custom: #12798a;
$custom-light: #6aa0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#12798a",
  "rgb": {
    "r": 18,
    "g": 121,
    "b": 138
  },
  "hsl": {
    "h": 188.5,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53052,
    "c": 0.08856,
    "h": 212.5
  },
  "luminance": 0.15638
}

Semantic roles & 50–950 ramp

primary
#12798A
secondary
#BF4C39
accent
#4F34F3
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E10
muted
#7A7E7F

Preview Lab

Preview with #12798A

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

Preview Lab → · Contrast checker → · Palette generator →

#12798A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva