#12474E#12474E

#12474E is a dark, muted teal. Relative luminance 0.052; OKLCH L 36.7% C 0.055 H 207.8°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#12474E
RGBrgb(18, 71, 78)
HSLhsl(187, 63%, 19%)
HSVhsv(187, 77%, 31%)
CMYKcmyk(76.9%, 9%, 0%, 69.4%)
CIE-LABlab(27.25, -14.32, -9.20)
CIE-LCHlch(27.25, 17.02, 212.71°)
OKLaboklab(36.73% -0.0486 -0.0256)
OKLCHoklch(36.73% 0.055 207.8)
XYZxyz(3.8772, 5.1847, 8.0027)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12474E #4E1912
analogous
#124E37 #12474E #12294E
triadic
#12474E #4E1247 #474E12
tetradic
#12474E #37124E #4E1912 #294E12
square
#12474E #37124E #4E1912 #294E12
split-complementary
#12474E #4E1229 #4E3712
monochromatic
#061719 #071A1C #12474E #1D7480 #29A2B1

Accessibility & contrast

On white

10.31
#12474E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#12474E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12474E
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12474E#FFFFFF#000000##FFFFFF
##12474E1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40444E
Deuteranopia (green-blind)
#383E4E
Tritanopia (blue-blind)
#004B49
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #12474e;
/* rgb */ color: rgb(18, 71, 78);
/* oklch */ color: oklch(36.7% 0.055 207.8);
Tailwind
colors: {
  custom: {
    50: '#5a7a7f',
    500: '#12474e',
    950: '#000000',
  },
}
SCSS
$custom: #12474e;
$custom-light: #5a7a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#12474e",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 78
  },
  "hsl": {
    "h": 187,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.36734,
    "c": 0.05487,
    "h": 207.8
  },
  "luminance": 0.05185
}

Semantic roles & 50–950 ramp

primary
#12474E
secondary
#873E35
accent
#5542E6
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#04090A
muted
#797B7C

Preview Lab

Preview with #12474E

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

Preview Lab → · Contrast checker → · Palette generator →

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