#12474F#12474F

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

Color values

HEX#12474F
RGBrgb(18, 71, 79)
HSLhsl(188, 63%, 19%)
HSVhsv(188, 77%, 31%)
CMYKcmyk(77.2%, 10.1%, 0%, 69%)
CIE-LABlab(27.29, -13.96, -9.79)
CIE-LCHlch(27.29, 17.05, 215.04°)
OKLaboklab(36.78% -0.0481 -0.0272)
OKLCHoklch(36.78% 0.055 209.5)
XYZxyz(3.9134, 5.1991, 8.1929)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12474F #4F1A12
analogous
#124F39 #12474F #12294F
triadic
#12474F #4F1247 #474F12
tetradic
#12474F #39124F #4F1A12 #294F12
square
#12474F #39124F #4F1A12 #294F12
split-complementary
#12474F #4F1229 #4F3912
monochromatic
#061619 #071A1D #12474F #1D7481 #29A1B3

Accessibility & contrast

On white

10.29
#12474F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12474F
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12474F#FFFFFF#000000##FFFFFF
##12474F1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40444F
Deuteranopia (green-blind)
#373E4F
Tritanopia (blue-blind)
#004B49
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #12474f;
/* rgb */ color: rgb(18, 71, 79);
/* oklch */ color: oklch(36.8% 0.055 209.5);
Tailwind
colors: {
  custom: {
    50: '#5a7a80',
    500: '#12474f',
    950: '#000000',
  },
}
SCSS
$custom: #12474f;
$custom-light: #5a7a80;
$custom-dark: #000000;
JSON
{
  "hex": "#12474f",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 79
  },
  "hsl": {
    "h": 187.869,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3678,
    "c": 0.05523,
    "h": 209.5
  },
  "luminance": 0.052
}

Semantic roles & 50–950 ramp

primary
#12474F
secondary
#884035
accent
#5742E6
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#04090A
muted
#797B7C

Preview Lab

Preview with #12474F

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

Preview Lab → · Contrast checker → · Palette generator →

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