#12624E#12624E

#12624E is a dark, moderate teal. Relative luminance 0.094; OKLCH L 44.5% C 0.081 H 171.3°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#12624E
RGBrgb(18, 98, 78)
HSLhsl(165, 69%, 23%)
HSVhsv(165, 82%, 38%)
CMYKcmyk(81.6%, 0%, 20.4%, 61.6%)
CIE-LABlab(36.77, -28.46, 4.81)
CIE-LCHlch(36.77, 28.86, 170.40°)
OKLaboklab(44.48% -0.0797 0.0123)
OKLCHoklch(44.48% 0.081 171.3)
XYZxyz(5.9915, 9.4133, 8.7074)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12624E #621226
analogous
#126226 #12624E #124E62
triadic
#12624E #4E1262 #624E12
tetradic
#12624E #261262 #621226 #4E6212
square
#12624E #261262 #621226 #4E6212
split-complementary
#12624E #62124E #622612
monochromatic
#051A15 #092E25 #12624E #1B9677 #25C9A0

Accessibility & contrast

On white

7.28
#12624E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#12624E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12624E
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12624E#FFFFFF#000000##FFFFFF
##12624E1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5B4D
Deuteranopia (green-blind)
#55534F
Tritanopia (blue-blind)
#00635C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #12624e;
/* rgb */ color: rgb(18, 98, 78);
/* oklch */ color: oklch(44.5% 0.081 171.3);
Tailwind
colors: {
  custom: {
    50: '#5f8f7f',
    500: '#12624e',
    950: '#000000',
  },
}
SCSS
$custom: #12624e;
$custom-light: #5f8f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#12624e",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 78
  },
  "hsl": {
    "h": 165,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44479,
    "c": 0.08061,
    "h": 171.3
  },
  "luminance": 0.09414
}

Semantic roles & 50–950 ramp

primary
#12624E
secondary
#9A364F
accent
#3C68EC
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#050C0A
muted
#7A7D7C

Preview Lab

Preview with #12624E

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

Preview Lab → · Contrast checker → · Palette generator →

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