#12545A#12545A

#12545A is a dark, moderate teal. Relative luminance 0.072; OKLCH L 40.9% C 0.063 H 204.1°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#12545A
RGBrgb(18, 84, 90)
HSLhsl(185, 67%, 21%)
HSVhsv(185, 80%, 35%)
CMYKcmyk(80%, 6.7%, 0%, 64.7%)
CIE-LABlab(32.27, -17.48, -9.31)
CIE-LCHlch(32.27, 19.80, 208.03°)
OKLaboklab(40.94% -0.0577 -0.0259)
OKLCHoklch(40.94% 0.063 204.1)
XYZxyz(5.2644, 7.2068, 10.7845)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12545A #5A1812
analogous
#125A3C #12545A #12305A
triadic
#12545A #5A1254 #545A12
tetradic
#12545A #3C125A #5A1812 #305A12
square
#12545A #3C125A #5A1812 #305A12
split-complementary
#12545A #5A1230 #5A3C12
monochromatic
#05181A #082427 #12545A #1C848D #26B3C0

Accessibility & contrast

On white

8.60
#12545A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#12545A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12545A
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12545A#FFFFFF#000000##FFFFFF
##12545A1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D505A
Deuteranopia (green-blind)
#42495A
Tritanopia (blue-blind)
#005856
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #12545a;
/* rgb */ color: rgb(18, 84, 90);
/* oklch */ color: oklch(40.9% 0.063 204.1);
Tailwind
colors: {
  custom: {
    50: '#5e8488',
    500: '#12545a',
    950: '#000000',
  },
}
SCSS
$custom: #12545a;
$custom-light: #5e8488;
$custom-dark: #000000;
JSON
{
  "hex": "#12545a",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 90
  },
  "hsl": {
    "h": 185,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.40944,
    "c": 0.06324,
    "h": 204.1
  },
  "luminance": 0.07207
}

Semantic roles & 50–950 ramp

primary
#12545A
secondary
#933D35
accent
#4C3EEA
background
#F5F8F8
surface
#EAEFEF
border
#C6CACA
text
#050B0B
muted
#797C7C

Preview Lab

Preview with #12545A

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

Preview Lab → · Contrast checker → · Palette generator →

#12545A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva