#12594F#12594F

#12594F is a dark, moderate teal. Relative luminance 0.078; OKLCH L 41.9% C 0.069 H 181.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#12594F
RGBrgb(18, 89, 79)
HSLhsl(172, 66%, 21%)
HSVhsv(172, 80%, 35%)
CMYKcmyk(79.8%, 0%, 11.2%, 65.1%)
CIE-LABlab(33.64, -23.77, -0.33)
CIE-LCHlch(33.64, 23.77, 180.80°)
OKLaboklab(41.93% -0.069 -0.0013)
OKLCHoklch(41.93% 0.069 181.1)
XYZxyz(5.2324, 7.8372, 8.6326)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12594F #59121C
analogous
#12592B #12594F #123F59
triadic
#12594F #4F1259 #594F12
tetradic
#12594F #2B1259 #59121C #3F5912
square
#12594F #2B1259 #59121C #3F5912
split-complementary
#12594F #59123F #592B12
monochromatic
#051917 #082622 #12594F #1C8C7C #27BFA9

Accessibility & contrast

On white

8.18
#12594F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#12594F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12594F
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12594F#FFFFFF#000000##FFFFFF
##12594F1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55534F
Deuteranopia (green-blind)
#4B4C50
Tritanopia (blue-blind)
#005B56
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #12594f;
/* rgb */ color: rgb(18, 89, 79);
/* oklch */ color: oklch(41.9% 0.069 181.1);
Tailwind
colors: {
  custom: {
    50: '#5d8880',
    500: '#12594f',
    950: '#000000',
  },
}
SCSS
$custom: #12594f;
$custom-light: #5d8880;
$custom-dark: #000000;
JSON
{
  "hex": "#12594f",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 79
  },
  "hsl": {
    "h": 171.549,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41932,
    "c": 0.06901,
    "h": 181.1
  },
  "luminance": 0.07838
}

Semantic roles & 50–950 ramp

primary
#12594F
secondary
#923542
accent
#3F57E9
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050B0A
muted
#797C7C

Preview Lab

Preview with #12594F

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

Preview Lab → · Contrast checker → · Palette generator →

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