#12573B#12573B

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

Color values

HEX#12573B
RGBrgb(18, 87, 59)
HSLhsl(156, 66%, 21%)
HSVhsv(156, 79%, 34%)
CMYKcmyk(79.3%, 0%, 32.2%, 65.9%)
CIE-LABlab(32.39, -28.42, 10.39)
CIE-LCHlch(32.39, 30.26, 159.92°)
OKLaboklab(40.73% -0.0775 0.0264)
OKLCHoklch(40.73% 0.082 161.2)
XYZxyz(4.4466, 7.2602, 5.3038)
Luminance0.0726 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12573B #57122E
analogous
#125718 #12573B #125057
triadic
#12573B #3B1257 #573B12
tetradic
#12573B #181257 #57122E #505712
square
#12573B #181257 #57122E #505712
split-complementary
#12573B #571250 #571812
monochromatic
#051911 #082419 #12573B #1C8A5D #27BC80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12573B#FFFFFF#000000##FFFFFF
##12573B1.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)
#565039
Deuteranopia (green-blind)
#4D4A3D
Tritanopia (blue-blind)
#005750
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #12573b;
/* rgb */ color: rgb(18, 87, 59);
/* oklch */ color: oklch(40.7% 0.082 161.2);
Tailwind
colors: {
  custom: {
    50: '#5c8771',
    500: '#12573b',
    950: '#000000',
  },
}
SCSS
$custom: #12573b;
$custom-light: #5c8771;
$custom-dark: #000000;
JSON
{
  "hex": "#12573b",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 59
  },
  "hsl": {
    "h": 155.652,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.4073,
    "c": 0.0819,
    "h": 161.2
  },
  "luminance": 0.07261
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #12573B

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

Preview Lab → · Contrast checker → · Palette generator →

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