#125646#125646

#125646 is a dark, moderate teal. Relative luminance 0.072; OKLCH L 40.8% C 0.071 H 173.0°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#125646
RGBrgb(18, 86, 70)
HSLhsl(166, 65%, 20%)
HSVhsv(166, 79%, 34%)
CMYKcmyk(79.1%, 0%, 18.6%, 66.3%)
CIE-LABlab(32.32, -24.97, 3.41)
CIE-LCHlch(32.32, 25.20, 172.23°)
OKLaboklab(40.76% -0.0704 0.0086)
OKLCHoklch(40.76% 0.071 173)
XYZxyz(4.6822, 7.2258, 6.9411)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125646 #561222
analogous
#125624 #125646 #124456
triadic
#125646 #461256 #564612
tetradic
#125646 #241256 #561222 #445612
square
#125646 #241256 #561222 #445612
split-complementary
#125646 #561244 #562412
monochromatic
#051915 #07231D #125646 #1D896F #27BB98

Accessibility & contrast

On white

8.59
#125646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#125646 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125646
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125646#FFFFFF#000000##FFFFFF
##1256461.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535045
Deuteranopia (green-blind)
#4A4947
Tritanopia (blue-blind)
#005751
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #125646;
/* rgb */ color: rgb(18, 86, 70);
/* oklch */ color: oklch(40.8% 0.071 173.0);
Tailwind
colors: {
  custom: {
    50: '#5c8679',
    500: '#125646',
    950: '#000000',
  },
}
SCSS
$custom: #125646;
$custom-light: #5c8679;
$custom-dark: #000000;
JSON
{
  "hex": "#125646",
  "rgb": {
    "r": 18,
    "g": 86,
    "b": 70
  },
  "hsl": {
    "h": 165.882,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.4076,
    "c": 0.0709,
    "h": 173
  },
  "luminance": 0.07226
}

Semantic roles & 50–950 ramp

primary
#125646
secondary
#8F354A
accent
#3F67E8
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#050B09
muted
#797C7B

Preview Lab

Preview with #125646

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

Preview Lab → · Contrast checker → · Palette generator →

#125646 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva