#12573A#12573A

#12573A is a dark, moderate teal. Relative luminance 0.072; OKLCH L 40.7% C 0.083 H 160.4°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#12573A
RGBrgb(18, 87, 58)
HSLhsl(155, 66%, 21%)
HSVhsv(155, 79%, 34%)
CMYKcmyk(79.3%, 0%, 33.3%, 65.9%)
CIE-LABlab(32.37, -28.67, 10.98)
CIE-LCHlch(32.37, 30.70, 159.05°)
OKLaboklab(40.7% -0.0781 0.0278)
OKLCHoklch(40.7% 0.083 160.4)
XYZxyz(4.4209, 7.2500, 5.1686)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12573A #57122F
analogous
#125718 #12573A #125157
triadic
#12573A #3A1257 #573A12
tetradic
#12573A #181257 #57122F #515712
square
#12573A #181257 #57122F #515712
split-complementary
#12573A #571251 #571812
monochromatic
#051911 #082418 #12573A #1C8A5C #27BC7E

Accessibility & contrast

On white

8.57
#12573A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12573A
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12573A#FFFFFF#000000##FFFFFF
##12573A1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565038
Deuteranopia (green-blind)
#4D4A3C
Tritanopia (blue-blind)
#00574F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #12573a;
/* rgb */ color: rgb(18, 87, 58);
/* oklch */ color: oklch(40.7% 0.083 160.4);
Tailwind
colors: {
  custom: {
    50: '#5c8770',
    500: '#12573a',
    950: '#000000',
  },
}
SCSS
$custom: #12573a;
$custom-light: #5c8770;
$custom-dark: #000000;
JSON
{
  "hex": "#12573a",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 58
  },
  "hsl": {
    "h": 154.783,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40704,
    "c": 0.08289,
    "h": 160.4
  },
  "luminance": 0.0725
}

Semantic roles & 50–950 ramp

primary
#12573A
secondary
#90355B
accent
#3F86E9
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #12573A

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

Preview Lab → · Contrast checker → · Palette generator →

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