#125548#125548

#125548 is a dark, moderate teal. Relative luminance 0.071; OKLCH L 40.5% C 0.068 H 176.5°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#125548
RGBrgb(18, 85, 72)
HSLhsl(168, 65%, 20%)
HSVhsv(168, 79%, 33%)
CMYKcmyk(78.8%, 0%, 15.3%, 66.7%)
CIE-LABlab(32.02, -23.88, 1.72)
CIE-LCHlch(32.02, 23.94, 175.89°)
OKLaboklab(40.53% -0.0681 0.0042)
OKLCHoklch(40.53% 0.068 176.5)
XYZxyz(4.6671, 7.0929, 7.2527)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125548 #55121F
analogous
#125526 #125548 #124155
triadic
#125548 #481255 #554812
tetradic
#125548 #261255 #55121F #415512
square
#125548 #261255 #55121F #415512
split-complementary
#125548 #551241 #552612
monochromatic
#051915 #07221D #125548 #1D8873 #27BA9E

Accessibility & contrast

On white

8.68
#125548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#125548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125548
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125548#FFFFFF#000000##FFFFFF
##1255481.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514F47
Deuteranopia (green-blind)
#484949
Tritanopia (blue-blind)
#005651
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #125548;
/* rgb */ color: rgb(18, 85, 72);
/* oklch */ color: oklch(40.5% 0.068 176.5);
Tailwind
colors: {
  custom: {
    50: '#5c857a',
    500: '#125548',
    950: '#000000',
  },
}
SCSS
$custom: #125548;
$custom-light: #5c857a;
$custom-dark: #000000;
JSON
{
  "hex": "#125548",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 72
  },
  "hsl": {
    "h": 168.358,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40535,
    "c": 0.06826,
    "h": 176.5
  },
  "luminance": 0.07093
}

Semantic roles & 50–950 ramp

primary
#125548
secondary
#8E3546
accent
#4060E8
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#050B09
muted
#797C7B

Preview Lab

Preview with #125548

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

Preview Lab → · Contrast checker → · Palette generator →

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