#12725B#12725B

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

Color values

HEX#12725B
RGBrgb(18, 114, 91)
HSLhsl(166, 73%, 26%)
HSVhsv(166, 84%, 45%)
CMYKcmyk(84.2%, 0%, 20.2%, 55.3%)
CIE-LABlab(42.64, -32.23, 5.32)
CIE-LCHlch(42.64, 32.67, 170.63°)
OKLaboklab(49.41% -0.0902 0.0135)
OKLCHoklch(49.41% 0.091 171.5)
XYZxyz(8.1541, 12.9175, 11.9591)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12725B #721229
analogous
#12722B #12725B #125972
triadic
#12725B #5B1272 #725B12
tetradic
#12725B #2B1272 #721229 #597212
square
#12725B #2B1272 #721229 #597212
split-complementary
#12725B #721259 #722B12
monochromatic
#041A15 #0A3D31 #12725B #1AA785 #23DCAF

Accessibility & contrast

On white

5.86
#12725B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#12725B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12725B
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12725B#FFFFFF#000000##FFFFFF
##12725B1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6A5A
Deuteranopia (green-blind)
#62615D
Tritanopia (blue-blind)
#00736B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #12725b;
/* rgb */ color: rgb(18, 114, 91);
/* oklch */ color: oklch(49.4% 0.091 171.5);
Tailwind
colors: {
  custom: {
    50: '#639b89',
    500: '#12725b',
    950: '#000000',
  },
}
SCSS
$custom: #12725b;
$custom-light: #639b89;
$custom-dark: #000000;
JSON
{
  "hex": "#12725b",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 91
  },
  "hsl": {
    "h": 165.625,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49407,
    "c": 0.09122,
    "h": 171.5
  },
  "luminance": 0.12919
}

Semantic roles & 50–950 ramp

primary
#12725B
secondary
#A93752
accent
#3864EF
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#060E0B
muted
#7A7E7C

Preview Lab

Preview with #12725B

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

Preview Lab → · Contrast checker → · Palette generator →

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