#12797F#12797F

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

Color values

HEX#12797F
RGBrgb(18, 121, 127)
HSLhsl(183, 75%, 28%)
HSVhsv(183, 86%, 50%)
CMYKcmyk(85.8%, 4.7%, 0%, 50.2%)
CIE-LABlab(46.09, -24.58, -11.12)
CIE-LCHlch(46.09, 26.98, 204.34°)
OKLaboklab(52.59% -0.0796 -0.0309)
OKLCHoklch(52.59% 0.085 201.2)
XYZxyz(10.9158, 15.3342, 22.4590)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12797F #7F1812
analogous
#127F4E #12797F #12427F
triadic
#12797F #7F1279 #797F12
tetradic
#12797F #4E127F #7F1812 #427F12
square
#12797F #4E127F #7F1812 #427F12
split-complementary
#12797F #7F1242 #7F4E12
monochromatic
#041A1B #0A4649 #12797F #1AACB5 #2BD7E1

Accessibility & contrast

On white

5.16
#12797F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#12797F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12797F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12797F#FFFFFF#000000##FFFFFF
##12797F1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7380
Deuteranopia (green-blind)
#61697F
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #12797f;
/* rgb */ color: rgb(18, 121, 127);
/* oklch */ color: oklch(52.6% 0.085 201.2);
Tailwind
colors: {
  custom: {
    50: '#68a0a4',
    500: '#12797f',
    950: '#000000',
  },
}
SCSS
$custom: #12797f;
$custom-light: #68a0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#12797f",
  "rgb": {
    "r": 18,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 183.303,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52589,
    "c": 0.08544,
    "h": 201.2
  },
  "luminance": 0.15336
}

Semantic roles & 50–950 ramp

primary
#12797F
secondary
#B53F38
accent
#4036F2
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #12797F

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

Preview Lab → · Contrast checker → · Palette generator →

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