#12573F#12573F

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

Color values

HEX#12573F
RGBrgb(18, 87, 63)
HSLhsl(159, 66%, 21%)
HSVhsv(159, 79%, 34%)
CMYKcmyk(79.3%, 0%, 27.6%, 65.9%)
CIE-LABlab(32.49, -27.39, 8.04)
CIE-LCHlch(32.49, 28.55, 163.64°)
OKLaboklab(40.84% -0.0753 0.0205)
OKLCHoklch(40.84% 0.078 164.8)
XYZxyz(4.5543, 7.3033, 5.8713)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12573F #57122A
analogous
#12571C #12573F #124C57
triadic
#12573F #3F1257 #573F12
tetradic
#12573F #1C1257 #57122A #4C5712
square
#12573F #1C1257 #57122A #4C5712
split-complementary
#12573F #57124C #571C12
monochromatic
#051912 #08241A #12573F #1C8A64 #27BC88

Accessibility & contrast

On white

8.53
#12573F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12573F
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12573F#FFFFFF#000000##FFFFFF
##12573F1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12573f;
/* rgb */ color: rgb(18, 87, 63);
/* oklch */ color: oklch(40.8% 0.078 164.8);
Tailwind
colors: {
  custom: {
    50: '#5c8774',
    500: '#12573f',
    950: '#000000',
  },
}
SCSS
$custom: #12573f;
$custom-light: #5c8774;
$custom-dark: #000000;
JSON
{
  "hex": "#12573f",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 63
  },
  "hsl": {
    "h": 159.13,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.4084,
    "c": 0.0781,
    "h": 164.8
  },
  "luminance": 0.07304
}

Semantic roles & 50–950 ramp

primary
#12573F
secondary
#903555
accent
#3F7AE9
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#050B08
muted
#797C7B

Preview Lab

Preview with #12573F

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

Preview Lab → · Contrast checker → · Palette generator →

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