#12544F#12544F

#12544F is a dark, moderate teal. Relative luminance 0.070; OKLCH L 40.5% C 0.064 H 187.4°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#12544F
RGBrgb(18, 84, 79)
HSLhsl(175, 65%, 20%)
HSVhsv(175, 79%, 33%)
CMYKcmyk(78.6%, 0%, 6%, 67.1%)
CIE-LABlab(31.88, -21.18, -2.92)
CIE-LCHlch(31.88, 21.38, 187.84°)
OKLaboklab(40.5% -0.0633 -0.0082)
OKLCHoklch(40.5% 0.064 187.4)
XYZxyz(4.8304, 7.0332, 8.4986)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12544F #541217
analogous
#12542E #12544F #123854
triadic
#12544F #4F1254 #544F12
tetradic
#12544F #2E1254 #541217 #385412
square
#12544F #2E1254 #541217 #385412
split-complementary
#12544F #541238 #542E12
monochromatic
#051918 #072220 #12544F #1D867E #28B9AE

Accessibility & contrast

On white

8.73
#12544F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#12544F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12544F
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12544F#FFFFFF#000000##FFFFFF
##12544F1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4F4F
Deuteranopia (green-blind)
#464850
Tritanopia (blue-blind)
#005652
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #12544f;
/* rgb */ color: rgb(18, 84, 79);
/* oklch */ color: oklch(40.5% 0.064 187.4);
Tailwind
colors: {
  custom: {
    50: '#5c8480',
    500: '#12544f',
    950: '#000000',
  },
}
SCSS
$custom: #12544f;
$custom-light: #5c8480;
$custom-dark: #000000;
JSON
{
  "hex": "#12544f",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 79
  },
  "hsl": {
    "h": 175.455,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.40498,
    "c": 0.06379,
    "h": 187.4
  },
  "luminance": 0.07034
}

Semantic roles & 50–950 ramp

primary
#12544F
secondary
#8D353C
accent
#404DE8
background
#F5F8F7
surface
#E9EFEE
border
#C5CAC9
text
#050B0A
muted
#797C7C

Preview Lab

Preview with #12544F

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

Preview Lab → · Contrast checker → · Palette generator →

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