#12787D#12787D

#12787D is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.2% C 0.085 H 200.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#12787D
RGBrgb(18, 120, 125)
HSLhsl(183, 75%, 28%)
HSVhsv(183, 86%, 49%)
CMYKcmyk(85.6%, 4%, 0%, 51%)
CIE-LABlab(45.69, -24.74, -10.53)
CIE-LCHlch(45.69, 26.88, 203.06°)
OKLaboklab(52.24% -0.0796 -0.0293)
OKLCHoklch(52.24% 0.085 200.2)
XYZxyz(10.6659, 15.0408, 21.7391)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12787D #7D1712
analogous
#127D4C #12787D #12427D
triadic
#12787D #7D1278 #787D12
tetradic
#12787D #4C127D #7D1712 #427D12
square
#12787D #4C127D #7D1712 #427D12
split-complementary
#12787D #7D1242 #7D4C12
monochromatic
#041A1B #0A4548 #12787D #1AABB2 #29D8E0

Accessibility & contrast

On white

5.24
#12787D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #12787D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12787D#FFFFFF#000000##FFFFFF
##12787D1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E727D
Deuteranopia (green-blind)
#60687D
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #12787d;
/* rgb */ color: rgb(18, 120, 125);
/* oklch */ color: oklch(52.2% 0.085 200.2);
Tailwind
colors: {
  custom: {
    50: '#689fa2',
    500: '#12787d',
    950: '#000000',
  },
}
SCSS
$custom: #12787d;
$custom-light: #689fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#12787d",
  "rgb": {
    "r": 18,
    "g": 120,
    "b": 125
  },
  "hsl": {
    "h": 182.804,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52242,
    "c": 0.08478,
    "h": 200.2
  },
  "luminance": 0.15042
}

Semantic roles & 50–950 ramp

primary
#12787D
secondary
#B33E38
accent
#3F36F1
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0F
muted
#7A7E7E

Preview Lab

Preview with #12787D

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

Preview Lab → · Contrast checker → · Palette generator →

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