#12524A#12524A

#12524A is a dark, moderate teal. Relative luminance 0.067; OKLCH L 39.7% C 0.064 H 182.8°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#12524A
RGBrgb(18, 82, 74)
HSLhsl(173, 64%, 20%)
HSVhsv(173, 78%, 32%)
CMYKcmyk(78%, 0%, 9.8%, 67.8%)
CIE-LABlab(31.01, -21.73, -1.02)
CIE-LCHlch(31.01, 21.76, 182.68°)
OKLaboklab(39.74% -0.0636 -0.0031)
OKLCHoklch(39.74% 0.064 182.8)
XYZxyz(4.5022, 6.6571, 7.5249)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12524A #52121A
analogous
#12522A #12524A #123A52
triadic
#12524A #4A1252 #524A12
tetradic
#12524A #2A1252 #52121A #3A5212
square
#12524A #2A1252 #52121A #3A5212
split-complementary
#12524A #52123A #522A12
monochromatic
#061917 #07201D #12524A #1D8477 #28B6A5

Accessibility & contrast

On white

9.01
#12524A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#12524A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12524A
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12524A#FFFFFF#000000##FFFFFF
##12524A1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4D4A
Deuteranopia (green-blind)
#45464B
Tritanopia (blue-blind)
#00544F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #12524a;
/* rgb */ color: rgb(18, 82, 74);
/* oklch */ color: oklch(39.7% 0.064 182.8);
Tailwind
colors: {
  custom: {
    50: '#5c837c',
    500: '#12524a',
    950: '#000000',
  },
}
SCSS
$custom: #12524a;
$custom-light: #5c837c;
$custom-dark: #000000;
JSON
{
  "hex": "#12524a",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 74
  },
  "hsl": {
    "h": 172.5,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39736,
    "c": 0.06365,
    "h": 182.8
  },
  "luminance": 0.06658
}

Semantic roles & 50–950 ramp

primary
#12524A
secondary
#8B3540
accent
#4156E7
background
#F5F8F7
surface
#E9EFEE
border
#C5CAC9
text
#040A09
muted
#797C7B

Preview Lab

Preview with #12524A

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

Preview Lab → · Contrast checker → · Palette generator →

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