#12797E#12797E

#12797E is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.5% C 0.085 H 200.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#12797E
RGBrgb(18, 121, 126)
HSLhsl(183, 75%, 28%)
HSVhsv(183, 86%, 49%)
CMYKcmyk(85.7%, 4%, 0%, 50.6%)
CIE-LABlab(46.05, -24.92, -10.58)
CIE-LCHlch(46.05, 27.07, 203.01°)
OKLaboklab(52.55% -0.0801 -0.0294)
OKLCHoklch(52.55% 0.085 200.2)
XYZxyz(10.8510, 15.3083, 22.1175)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12797E #7E1712
analogous
#127E4D #12797E #12437E
triadic
#12797E #7E1279 #797E12
tetradic
#12797E #4D127E #7E1712 #437E12
square
#12797E #4D127E #7E1712 #437E12
split-complementary
#12797E #7E1243 #7E4D12
monochromatic
#041A1B #0A4648 #12797E #1AACB4 #2AD8E1

Accessibility & contrast

On white

5.17
#12797E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#12797E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12797E
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12797E#FFFFFF#000000##FFFFFF
##12797E1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F737E
Deuteranopia (green-blind)
#61697E
Tritanopia (blue-blind)
#007E7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #12797e;
/* rgb */ color: rgb(18, 121, 126);
/* oklch */ color: oklch(52.5% 0.085 200.2);
Tailwind
colors: {
  custom: {
    50: '#68a0a3',
    500: '#12797e',
    950: '#000000',
  },
}
SCSS
$custom: #12797e;
$custom-light: #68a0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#12797e",
  "rgb": {
    "r": 18,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 182.778,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52549,
    "c": 0.08535,
    "h": 200.2
  },
  "luminance": 0.1531
}

Semantic roles & 50–950 ramp

primary
#12797E
secondary
#B43E38
accent
#3F36F2
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #12797E

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

Preview Lab → · Contrast checker → · Palette generator →

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