#12574C#12574C

#12574C is a dark, moderate teal. Relative luminance 0.075; OKLCH L 41.3% C 0.068 H 179.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#12574C
RGBrgb(18, 87, 76)
HSLhsl(170, 66%, 21%)
HSVhsv(170, 79%, 34%)
CMYKcmyk(79.3%, 0%, 12.6%, 65.9%)
CIE-LABlab(32.85, -23.68, 0.39)
CIE-LCHlch(32.85, 23.68, 179.05°)
OKLaboklab(41.25% -0.0683 0.0007)
OKLCHoklch(41.25% 0.068 179.4)
XYZxyz(4.9615, 7.4662, 8.0157)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12574C #57121D
analogous
#125729 #12574C #123F57
triadic
#12574C #4C1257 #574C12
tetradic
#12574C #291257 #57121D #3F5712
square
#12574C #291257 #57121D #3F5712
split-complementary
#12574C #57123F #572912
monochromatic
#051916 #082420 #12574C #1C8A78 #27BCA5

Accessibility & contrast

On white

8.42
#12574C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#12574C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12574C
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12574C#FFFFFF#000000##FFFFFF
##12574C1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53514C
Deuteranopia (green-blind)
#4A4A4D
Tritanopia (blue-blind)
#005954
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #12574c;
/* rgb */ color: rgb(18, 87, 76);
/* oklch */ color: oklch(41.3% 0.068 179.4);
Tailwind
colors: {
  custom: {
    50: '#5d877e',
    500: '#12574c',
    950: '#000000',
  },
}
SCSS
$custom: #12574c;
$custom-light: #5d877e;
$custom-dark: #000000;
JSON
{
  "hex": "#12574c",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 76
  },
  "hsl": {
    "h": 170.435,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41251,
    "c": 0.0683,
    "h": 179.4
  },
  "luminance": 0.07467
}

Semantic roles & 50–950 ramp

primary
#12574C
secondary
#903544
accent
#3F5AE9
background
#F5F8F7
surface
#E9EFEE
border
#C5CAC9
text
#050B09
muted
#797C7B

Preview Lab

Preview with #12574C

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

Preview Lab → · Contrast checker → · Palette generator →

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