#125647#125647

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

Color values

HEX#125647
RGBrgb(18, 86, 71)
HSLhsl(167, 65%, 20%)
HSVhsv(167, 79%, 34%)
CMYKcmyk(79.1%, 0%, 17.4%, 66.3%)
CIE-LABlab(32.34, -24.67, 2.82)
CIE-LCHlch(32.34, 24.83, 173.48°)
OKLaboklab(40.79% -0.0698 0.0071)
OKLCHoklch(40.79% 0.07 174.2)
XYZxyz(4.7140, 7.2385, 7.1088)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125647 #561221
analogous
#125625 #125647 #124356
triadic
#125647 #471256 #564712
tetradic
#125647 #251256 #561221 #435612
square
#125647 #251256 #561221 #435612
split-complementary
#125647 #561243 #562512
monochromatic
#051915 #07231D #125647 #1D8971 #27BB9B

Accessibility & contrast

On white

8.58
#125647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125647
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125647#FFFFFF#000000##FFFFFF
##1256471.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535046
Deuteranopia (green-blind)
#4A4948
Tritanopia (blue-blind)
#005752
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #125647;
/* rgb */ color: rgb(18, 86, 71);
/* oklch */ color: oklch(40.8% 0.070 174.2);
Tailwind
colors: {
  custom: {
    50: '#5c867a',
    500: '#125647',
    950: '#000000',
  },
}
SCSS
$custom: #125647;
$custom-light: #5c867a;
$custom-dark: #000000;
JSON
{
  "hex": "#125647",
  "rgb": {
    "r": 18,
    "g": 86,
    "b": 71
  },
  "hsl": {
    "h": 166.765,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40793,
    "c": 0.07019,
    "h": 174.2
  },
  "luminance": 0.07239
}

Semantic roles & 50–950 ramp

primary
#125647
secondary
#8F3549
accent
#3F65E8
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#050B09
muted
#797C7B

Preview Lab

Preview with #125647

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

Preview Lab → · Contrast checker → · Palette generator →

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