#12725E#12725E

#12725E is a mid, moderate teal. Relative luminance 0.130; OKLCH L 49.5% C 0.089 H 174.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#12725E
RGBrgb(18, 114, 94)
HSLhsl(168, 73%, 26%)
HSVhsv(168, 84%, 45%)
CMYKcmyk(84.2%, 0%, 17.5%, 55.3%)
CIE-LABlab(42.72, -31.39, 3.64)
CIE-LCHlch(42.72, 31.60, 173.39°)
OKLaboklab(49.5% -0.0887 0.0091)
OKLCHoklch(49.5% 0.089 174.1)
XYZxyz(8.2861, 12.9703, 12.6543)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12725E #721226
analogous
#12722E #12725E #125672
triadic
#12725E #5E1272 #725E12
tetradic
#12725E #2E1272 #721226 #567212
square
#12725E #2E1272 #721226 #567212
split-complementary
#12725E #721256 #722E12
monochromatic
#041A16 #0A3D32 #12725E #1AA78A #23DCB5

Accessibility & contrast

On white

5.84
#12725E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#12725E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12725E
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12725E#FFFFFF#000000##FFFFFF
##12725E1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6A5D
Deuteranopia (green-blind)
#62615F
Tritanopia (blue-blind)
#00736C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #12725e;
/* rgb */ color: rgb(18, 114, 94);
/* oklch */ color: oklch(49.5% 0.089 174.1);
Tailwind
colors: {
  custom: {
    50: '#649b8b',
    500: '#12725e',
    950: '#000000',
  },
}
SCSS
$custom: #12725e;
$custom-light: #649b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#12725e",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 94
  },
  "hsl": {
    "h": 167.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49499,
    "c": 0.08912,
    "h": 174.1
  },
  "luminance": 0.12971
}

Semantic roles & 50–950 ramp

primary
#12725E
secondary
#A9374F
accent
#385FEF
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#060E0C
muted
#7A7E7D

Preview Lab

Preview with #12725E

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

Preview Lab → · Contrast checker → · Palette generator →

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