#12524F#12524F

#12524F is a dark, moderate teal. Relative luminance 0.067; OKLCH L 39.9% C 0.062 H 190.3°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#12524F
RGBrgb(18, 82, 79)
HSLhsl(177, 64%, 20%)
HSVhsv(177, 78%, 32%)
CMYKcmyk(78%, 0%, 3.7%, 67.8%)
CIE-LABlab(31.18, -20.12, -3.96)
CIE-LCHlch(31.18, 20.51, 191.13°)
OKLaboklab(39.92% -0.0609 -0.0111)
OKLCHoklch(39.92% 0.062 190.3)
XYZxyz(4.6774, 6.7271, 8.4476)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12524F #521215
analogous
#12522F #12524F #123552
triadic
#12524F #4F1252 #524F12
tetradic
#12524F #2F1252 #521215 #355212
square
#12524F #2F1252 #521215 #355212
split-complementary
#12524F #521235 #522F12
monochromatic
#061918 #07201F #12524F #1D847F #28B6B0

Accessibility & contrast

On white

8.95
#12524F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#12524F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12524F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12524F#FFFFFF#000000##FFFFFF
##12524F1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4D4F
Deuteranopia (green-blind)
#444750
Tritanopia (blue-blind)
#005451
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #12524f;
/* rgb */ color: rgb(18, 82, 79);
/* oklch */ color: oklch(39.9% 0.062 190.3);
Tailwind
colors: {
  custom: {
    50: '#5c8380',
    500: '#12524f',
    950: '#000000',
  },
}
SCSS
$custom: #12524f;
$custom-light: #5c8380;
$custom-dark: #000000;
JSON
{
  "hex": "#12524f",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 79
  },
  "hsl": {
    "h": 177.188,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39924,
    "c": 0.06194,
    "h": 190.3
  },
  "luminance": 0.06728
}

Semantic roles & 50–950 ramp

primary
#12524F
secondary
#8B3539
accent
#4149E7
background
#F5F8F7
surface
#E9EFEE
border
#C5CAC9
text
#050A0A
muted
#797C7C

Preview Lab

Preview with #12524F

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

Preview Lab → · Contrast checker → · Palette generator →

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