#12573E#12573E

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

Color values

HEX#12573E
RGBrgb(18, 87, 62)
HSLhsl(158, 66%, 21%)
HSVhsv(158, 79%, 34%)
CMYKcmyk(79.3%, 0%, 28.7%, 65.9%)
CIE-LABlab(32.46, -27.65, 8.63)
CIE-LCHlch(32.46, 28.97, 162.67°)
OKLaboklab(40.81% -0.0759 0.022)
OKLCHoklch(40.81% 0.079 163.8)
XYZxyz(4.5267, 7.2923, 5.7255)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12573E #57122B
analogous
#12571B #12573E #124D57
triadic
#12573E #3E1257 #573E12
tetradic
#12573E #1B1257 #57122B #4D5712
square
#12573E #1B1257 #57122B #4D5712
split-complementary
#12573E #57124D #571B12
monochromatic
#051912 #08241A #12573E #1C8A62 #27BC86

Accessibility & contrast

On white

8.54
#12573E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#12573E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12573E
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12573E#FFFFFF#000000##FFFFFF
##12573E1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55503D
Deuteranopia (green-blind)
#4D4A40
Tritanopia (blue-blind)
#005750
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #12573e;
/* rgb */ color: rgb(18, 87, 62);
/* oklch */ color: oklch(40.8% 0.079 163.8);
Tailwind
colors: {
  custom: {
    50: '#5c8773',
    500: '#12573e',
    950: '#000000',
  },
}
SCSS
$custom: #12573e;
$custom-light: #5c8773;
$custom-dark: #000000;
JSON
{
  "hex": "#12573e",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 62
  },
  "hsl": {
    "h": 158.261,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40812,
    "c": 0.07902,
    "h": 163.8
  },
  "luminance": 0.07293
}

Semantic roles & 50–950 ramp

primary
#12573E
secondary
#903556
accent
#3F7DE9
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#050B08
muted
#797C7B

Preview Lab

Preview with #12573E

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

Preview Lab → · Contrast checker → · Palette generator →

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