#12725C#12725C

#12725C is a mid, moderate teal. Relative luminance 0.129; OKLCH L 49.4% C 0.090 H 172.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#12725C
RGBrgb(18, 114, 92)
HSLhsl(166, 73%, 26%)
HSVhsv(166, 84%, 45%)
CMYKcmyk(84.2%, 0%, 19.3%, 55.3%)
CIE-LABlab(42.66, -31.96, 4.76)
CIE-LCHlch(42.66, 32.31, 171.53°)
OKLaboklab(49.44% -0.0897 0.0121)
OKLCHoklch(49.44% 0.091 172.3)
XYZxyz(8.1975, 12.9349, 12.1878)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12725C #721228
analogous
#12722C #12725C #125872
triadic
#12725C #5C1272 #725C12
tetradic
#12725C #2C1272 #721228 #587212
square
#12725C #2C1272 #721228 #587212
split-complementary
#12725C #721258 #722C12
monochromatic
#041A15 #0A3D31 #12725C #1AA787 #23DCB1

Accessibility & contrast

On white

5.85
#12725C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #12725C
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12725C#FFFFFF#000000##FFFFFF
##12725C1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12725c;
/* rgb */ color: rgb(18, 114, 92);
/* oklch */ color: oklch(49.4% 0.090 172.3);
Tailwind
colors: {
  custom: {
    50: '#639b8a',
    500: '#12725c',
    950: '#000000',
  },
}
SCSS
$custom: #12725c;
$custom-light: #639b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#12725c",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 92
  },
  "hsl": {
    "h": 166.25,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49437,
    "c": 0.0905,
    "h": 172.3
  },
  "luminance": 0.12936
}

Semantic roles & 50–950 ramp

primary
#12725C
secondary
#A93751
accent
#3862EF
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#060E0B
muted
#7A7E7C

Preview Lab

Preview with #12725C

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

Preview Lab → · Contrast checker → · Palette generator →

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