#12573C#12573C

#12573C is a dark, moderate teal. Relative luminance 0.073; OKLCH L 40.8% C 0.081 H 162.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#12573C
RGBrgb(18, 87, 60)
HSLhsl(157, 66%, 21%)
HSVhsv(157, 79%, 34%)
CMYKcmyk(79.3%, 0%, 31%, 65.9%)
CIE-LABlab(32.42, -28.17, 9.81)
CIE-LCHlch(32.42, 29.83, 160.81°)
OKLaboklab(40.76% -0.077 0.0249)
OKLCHoklch(40.76% 0.081 162.1)
XYZxyz(4.4728, 7.2707, 5.4417)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12573C #57122D
analogous
#12571A #12573C #124F57
triadic
#12573C #3C1257 #573C12
tetradic
#12573C #1A1257 #57122D #4F5712
square
#12573C #1A1257 #57122D #4F5712
split-complementary
#12573C #57124F #571A12
monochromatic
#051911 #082419 #12573C #1C8A5F #27BC82

Accessibility & contrast

On white

8.56
#12573C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#12573C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12573C
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12573C#FFFFFF#000000##FFFFFF
##12573C1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56503A
Deuteranopia (green-blind)
#4D4A3E
Tritanopia (blue-blind)
#005750
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #12573c;
/* rgb */ color: rgb(18, 87, 60);
/* oklch */ color: oklch(40.8% 0.081 162.1);
Tailwind
colors: {
  custom: {
    50: '#5c8771',
    500: '#12573c',
    950: '#000000',
  },
}
SCSS
$custom: #12573c;
$custom-light: #5c8771;
$custom-dark: #000000;
JSON
{
  "hex": "#12573c",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 60
  },
  "hsl": {
    "h": 156.522,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40757,
    "c": 0.08093,
    "h": 162.1
  },
  "luminance": 0.07271
}

Semantic roles & 50–950 ramp

primary
#12573C
secondary
#903559
accent
#3F81E9
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #12573C

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

Preview Lab → · Contrast checker → · Palette generator →

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