#12787E#12787E

#12787E is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.3% C 0.085 H 201.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#12787E
RGBrgb(18, 120, 126)
HSLhsl(183, 75%, 28%)
HSVhsv(183, 86%, 49%)
CMYKcmyk(85.7%, 4.8%, 0%, 50.6%)
CIE-LABlab(45.73, -24.40, -11.07)
CIE-LCHlch(45.73, 26.80, 204.41°)
OKLaboklab(52.28% -0.0791 -0.0308)
OKLCHoklch(52.28% 0.085 201.3)
XYZxyz(10.7301, 15.0665, 22.0772)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12787E #7E1812
analogous
#127E4E #12787E #12427E
triadic
#12787E #7E1278 #787E12
tetradic
#12787E #4E127E #7E1812 #427E12
square
#12787E #4E127E #7E1812 #427E12
split-complementary
#12787E #7E1242 #7E4E12
monochromatic
#041A1B #0A4548 #12787E #1AABB4 #2AD6E1

Accessibility & contrast

On white

5.23
#12787E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#12787E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12787E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12787E#FFFFFF#000000##FFFFFF
##12787E1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E727E
Deuteranopia (green-blind)
#60687E
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #12787e;
/* rgb */ color: rgb(18, 120, 126);
/* oklch */ color: oklch(52.3% 0.085 201.3);
Tailwind
colors: {
  custom: {
    50: '#689fa3',
    500: '#12787e',
    950: '#000000',
  },
}
SCSS
$custom: #12787e;
$custom-light: #689fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#12787e",
  "rgb": {
    "r": 18,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 183.333,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52282,
    "c": 0.08488,
    "h": 201.3
  },
  "luminance": 0.15068
}

Semantic roles & 50–950 ramp

primary
#12787E
secondary
#B43F38
accent
#4136F2
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #12787E

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

Preview Lab → · Contrast checker → · Palette generator →

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