#12797C#12797C

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

Color values

HEX#12797C
RGBrgb(18, 121, 124)
HSLhsl(182, 75%, 28%)
HSVhsv(182, 85%, 49%)
CMYKcmyk(85.5%, 2.4%, 0%, 51.4%)
CIE-LABlab(45.98, -25.57, -9.49)
CIE-LCHlch(45.98, 27.28, 200.37°)
OKLaboklab(52.47% -0.0811 -0.0264)
OKLCHoklch(52.47% 0.085 198)
XYZxyz(10.7232, 15.2572, 21.4446)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12797C #7C1512
analogous
#127C4A #12797C #12447C
triadic
#12797C #7C1279 #797C12
tetradic
#12797C #4A127C #7C1512 #447C12
square
#12797C #4A127C #7C1512 #447C12
split-complementary
#12797C #7C1244 #7C4A12
monochromatic
#041A1B #0A4547 #12797C #1AADB1 #29DBE0

Accessibility & contrast

On white

5.18
#12797C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#12797C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12797C
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12797C#FFFFFF#000000##FFFFFF
##12797C1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70737C
Deuteranopia (green-blind)
#61687D
Tritanopia (blue-blind)
#007E7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #12797c;
/* rgb */ color: rgb(18, 121, 124);
/* oklch */ color: oklch(52.5% 0.085 198.0);
Tailwind
colors: {
  custom: {
    50: '#68a0a1',
    500: '#12797c',
    950: '#000000',
  },
}
SCSS
$custom: #12797c;
$custom-light: #68a0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#12797c",
  "rgb": {
    "r": 18,
    "g": 121,
    "b": 124
  },
  "hsl": {
    "h": 181.698,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5247,
    "c": 0.08525,
    "h": 198
  },
  "luminance": 0.15259
}

Semantic roles & 50–950 ramp

primary
#12797C
secondary
#B23B38
accent
#3C37F1
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0F
muted
#7A7E7E

Preview Lab

Preview with #12797C

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

Preview Lab → · Contrast checker → · Palette generator →

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