#12574E#12574E

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

Color values

HEX#12574E
RGBrgb(18, 87, 78)
HSLhsl(172, 66%, 21%)
HSVhsv(172, 79%, 34%)
CMYKcmyk(79.3%, 0%, 10.3%, 65.9%)
CIE-LABlab(32.91, -23.06, -0.78)
CIE-LCHlch(32.91, 23.07, 181.93°)
OKLaboklab(41.32% -0.0672 -0.0025)
OKLCHoklch(41.32% 0.067 182.1)
XYZxyz(5.0321, 7.4944, 8.3876)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12574E #57121B
analogous
#12572B #12574E #123D57
triadic
#12574E #4E1257 #574E12
tetradic
#12574E #2B1257 #57121B #3D5712
square
#12574E #2B1257 #57121B #3D5712
split-complementary
#12574E #57123D #572B12
monochromatic
#051917 #082421 #12574E #1C8A7B #27BCA9

Accessibility & contrast

On white

8.40
#12574E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12574E
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12574E#FFFFFF#000000##FFFFFF
##12574E1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53514E
Deuteranopia (green-blind)
#494A4F
Tritanopia (blue-blind)
#005954
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #12574e;
/* rgb */ color: rgb(18, 87, 78);
/* oklch */ color: oklch(41.3% 0.067 182.1);
Tailwind
colors: {
  custom: {
    50: '#5d877f',
    500: '#12574e',
    950: '#000000',
  },
}
SCSS
$custom: #12574e;
$custom-light: #5d877f;
$custom-dark: #000000;
JSON
{
  "hex": "#12574e",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 78
  },
  "hsl": {
    "h": 172.174,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41322,
    "c": 0.06729,
    "h": 182.1
  },
  "luminance": 0.07495
}

Semantic roles & 50–950 ramp

primary
#12574E
secondary
#903541
accent
#3F55E9
background
#F5F8F7
surface
#E9EFEE
border
#C5CAC9
text
#050B0A
muted
#797C7C

Preview Lab

Preview with #12574E

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

Preview Lab → · Contrast checker → · Palette generator →

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