#12745F#12745F

#12745F is a mid, moderate teal. Relative luminance 0.134; OKLCH L 50.1% C 0.091 H 173.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#12745F
RGBrgb(18, 116, 95)
HSLhsl(167, 73%, 26%)
HSVhsv(167, 84%, 45%)
CMYKcmyk(84.5%, 0%, 18.1%, 54.5%)
CIE-LABlab(43.43, -32.03, 4.06)
CIE-LCHlch(43.43, 32.29, 172.78°)
OKLaboklab(50.09% -0.0903 0.0102)
OKLCHoklch(50.09% 0.091 173.5)
XYZxyz(8.5593, 13.4445, 12.9682)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12745F #741227
analogous
#12742E #12745F #125874
triadic
#12745F #5F1274 #745F12
tetradic
#12745F #2E1274 #741227 #587412
square
#12745F #2E1274 #741227 #587412
split-complementary
#12745F #741258 #742E12
monochromatic
#041A16 #0A3F34 #12745F #1AA98A #23DDB5

Accessibility & contrast

On white

5.69
#12745F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#12745F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12745F
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12745F#FFFFFF#000000##FFFFFF
##12745F1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706C5E
Deuteranopia (green-blind)
#646361
Tritanopia (blue-blind)
#00756E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #12745f;
/* rgb */ color: rgb(18, 116, 95);
/* oklch */ color: oklch(50.1% 0.091 173.5);
Tailwind
colors: {
  custom: {
    50: '#649d8c',
    500: '#12745f',
    950: '#000000',
  },
}
SCSS
$custom: #12745f;
$custom-light: #649d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#12745f",
  "rgb": {
    "r": 18,
    "g": 116,
    "b": 95
  },
  "hsl": {
    "h": 167.143,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50087,
    "c": 0.09084,
    "h": 173.5
  },
  "luminance": 0.13446
}

Semantic roles & 50–950 ramp

primary
#12745F
secondary
#AB3750
accent
#385FF0
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#060E0C
muted
#7A7E7D

Preview Lab

Preview with #12745F

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

Preview Lab → · Contrast checker → · Palette generator →

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