#12725F#12725F

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

Color values

HEX#12725F
RGBrgb(18, 114, 95)
HSLhsl(168, 73%, 26%)
HSVhsv(168, 84%, 45%)
CMYKcmyk(84.2%, 0%, 16.7%, 55.3%)
CIE-LABlab(42.75, -31.11, 3.08)
CIE-LCHlch(42.75, 31.26, 174.35°)
OKLaboklab(49.53% -0.0881 0.0077)
OKLCHoklch(49.53% 0.088 175)
XYZxyz(8.3312, 12.9884, 12.8922)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12725F #721225
analogous
#12722F #12725F #125572
triadic
#12725F #5F1272 #725F12
tetradic
#12725F #2F1272 #721225 #557212
square
#12725F #2F1272 #721225 #557212
split-complementary
#12725F #721255 #722F12
monochromatic
#041A16 #0A3D33 #12725F #1AA78B #23DCB7

Accessibility & contrast

On white

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

On black

3.60
#12725F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##12725F#FFFFFF#000000##FFFFFF
##12725F1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6A5E
Deuteranopia (green-blind)
#626160
Tritanopia (blue-blind)
#00746C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #12725f;
/* rgb */ color: rgb(18, 114, 95);
/* oklch */ color: oklch(49.5% 0.088 175.0);
Tailwind
colors: {
  custom: {
    50: '#649b8c',
    500: '#12725f',
    950: '#000000',
  },
}
SCSS
$custom: #12725f;
$custom-light: #649b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#12725f",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 95
  },
  "hsl": {
    "h": 168.125,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.4953,
    "c": 0.08846,
    "h": 175
  },
  "luminance": 0.12989
}

Semantic roles & 50–950 ramp

primary
#12725F
secondary
#A9374D
accent
#385DEF
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#060E0C
muted
#7A7E7D

Preview Lab

Preview with #12725F

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

Preview Lab → · Contrast checker → · Palette generator →

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