#12574F#12574F

#12574F is a dark, moderate teal. Relative luminance 0.075; OKLCH L 41.4% C 0.067 H 183.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#12574F
RGBrgb(18, 87, 79)
HSLhsl(173, 66%, 21%)
HSVhsv(173, 79%, 34%)
CMYKcmyk(79.3%, 0%, 9.2%, 65.9%)
CIE-LABlab(32.94, -22.75, -1.36)
CIE-LCHlch(32.94, 22.79, 183.42°)
OKLaboklab(41.36% -0.0667 -0.004)
OKLCHoklch(41.36% 0.067 183.5)
XYZxyz(5.0682, 7.5089, 8.5779)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12574F #57121A
analogous
#12572C #12574F #123C57
triadic
#12574F #4F1257 #574F12
tetradic
#12574F #2C1257 #57121A #3C5712
square
#12574F #2C1257 #57121A #3C5712
split-complementary
#12574F #57123C #572C12
monochromatic
#051917 #082421 #12574F #1C8A7D #27BCAB

Accessibility & contrast

On white

8.39
#12574F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#12574F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12574F
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12574F#FFFFFF#000000##FFFFFF
##12574F1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52524F
Deuteranopia (green-blind)
#494B50
Tritanopia (blue-blind)
#005954
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #12574f;
/* rgb */ color: rgb(18, 87, 79);
/* oklch */ color: oklch(41.4% 0.067 183.5);
Tailwind
colors: {
  custom: {
    50: '#5d8780',
    500: '#12574f',
    950: '#000000',
  },
}
SCSS
$custom: #12574f;
$custom-light: #5d8780;
$custom-dark: #000000;
JSON
{
  "hex": "#12574f",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 79
  },
  "hsl": {
    "h": 173.043,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41358,
    "c": 0.06683,
    "h": 183.5
  },
  "luminance": 0.0751
}

Semantic roles & 50–950 ramp

primary
#12574F
secondary
#903540
accent
#3F53E9
background
#F5F8F7
surface
#E9EFEE
border
#C5CAC9
text
#050B0A
muted
#797C7C

Preview Lab

Preview with #12574F

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

Preview Lab → · Contrast checker → · Palette generator →

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