#12574B#12574B

#12574B is a dark, moderate teal. Relative luminance 0.075; OKLCH L 41.2% C 0.069 H 178.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#12574B
RGBrgb(18, 87, 75)
HSLhsl(170, 66%, 21%)
HSVhsv(170, 79%, 34%)
CMYKcmyk(79.3%, 0%, 13.8%, 65.9%)
CIE-LABlab(32.82, -23.98, 0.98)
CIE-LCHlch(32.82, 24.00, 177.66°)
OKLaboklab(41.22% -0.0688 0.0022)
OKLCHoklch(41.22% 0.069 178.2)
XYZxyz(4.9270, 7.4524, 7.8340)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12574B #57121E
analogous
#125728 #12574B #124057
triadic
#12574B #4B1257 #574B12
tetradic
#12574B #281257 #57121E #405712
square
#12574B #281257 #57121E #405712
split-complementary
#12574B #571240 #572812
monochromatic
#051916 #08241F #12574B #1C8A77 #27BCA2

Accessibility & contrast

On white

8.43
#12574B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12574B
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12574B#FFFFFF#000000##FFFFFF
##12574B1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53514A
Deuteranopia (green-blind)
#4A4A4C
Tritanopia (blue-blind)
#005853
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #12574b;
/* rgb */ color: rgb(18, 87, 75);
/* oklch */ color: oklch(41.2% 0.069 178.2);
Tailwind
colors: {
  custom: {
    50: '#5d877d',
    500: '#12574b',
    950: '#000000',
  },
}
SCSS
$custom: #12574b;
$custom-light: #5d877d;
$custom-dark: #000000;
JSON
{
  "hex": "#12574b",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 75
  },
  "hsl": {
    "h": 169.565,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41217,
    "c": 0.06887,
    "h": 178.2
  },
  "luminance": 0.07453
}

Semantic roles & 50–950 ramp

primary
#12574B
secondary
#903545
accent
#3F5DE9
background
#F5F8F7
surface
#E9EFEE
border
#C5CAC9
text
#050B09
muted
#797C7B

Preview Lab

Preview with #12574B

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

Preview Lab → · Contrast checker → · Palette generator →

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