#125847#125847

#125847 is a dark, moderate teal. Relative luminance 0.076; OKLCH L 41.4% C 0.073 H 172.3°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#125847
RGBrgb(18, 88, 71)
HSLhsl(165, 66%, 21%)
HSVhsv(165, 80%, 35%)
CMYKcmyk(79.5%, 0%, 19.3%, 65.5%)
CIE-LABlab(33.05, -25.66, 3.84)
CIE-LCHlch(33.05, 25.94, 171.49°)
OKLaboklab(41.37% -0.0721 0.0098)
OKLCHoklch(41.37% 0.073 172.3)
XYZxyz(4.8759, 7.5624, 7.1627)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125847 #581223
analogous
#125824 #125847 #124658
triadic
#125847 #471258 #584712
tetradic
#125847 #241258 #581223 #465812
square
#125847 #241258 #581223 #465812
split-complementary
#125847 #581246 #582412
monochromatic
#051914 #08251E #125847 #1C8B70 #27BE99

Accessibility & contrast

On white

8.36
#125847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#125847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125847
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125847#FFFFFF#000000##FFFFFF
##1258471.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555246
Deuteranopia (green-blind)
#4C4B48
Tritanopia (blue-blind)
#005953
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125847;
/* rgb */ color: rgb(18, 88, 71);
/* oklch */ color: oklch(41.4% 0.073 172.3);
Tailwind
colors: {
  custom: {
    50: '#5d887a',
    500: '#125847',
    950: '#000000',
  },
}
SCSS
$custom: #125847;
$custom-light: #5d887a;
$custom-dark: #000000;
JSON
{
  "hex": "#125847",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 71
  },
  "hsl": {
    "h": 165.429,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41374,
    "c": 0.0728,
    "h": 172.3
  },
  "luminance": 0.07563
}

Semantic roles & 50–950 ramp

primary
#125847
secondary
#91354B
accent
#3F68E9
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#050B09
muted
#797C7B

Preview Lab

Preview with #125847

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

Preview Lab → · Contrast checker → · Palette generator →

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