#125158#125158

#125158 is a dark, moderate teal. Relative luminance 0.067; OKLCH L 40.0% C 0.062 H 206.1°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#125158
RGBrgb(18, 81, 88)
HSLhsl(186, 66%, 21%)
HSVhsv(186, 80%, 35%)
CMYKcmyk(79.5%, 8%, 0%, 65.5%)
CIE-LABlab(31.15, -16.50, -9.73)
CIE-LCHlch(31.15, 19.15, 210.52°)
OKLaboklab(40.02% -0.0553 -0.027)
OKLCHoklch(40.02% 0.062 206.1)
XYZxyz(4.9526, 6.7174, 10.2662)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125158 #581912
analogous
#12583C #125158 #122E58
triadic
#125158 #581251 #515812
tetradic
#125158 #3C1258 #581912 #2E5812
square
#125158 #3C1258 #581912 #2E5812
split-complementary
#125158 #58122E #583C12
monochromatic
#051719 #082225 #125158 #1C808B #27AFBE

Accessibility & contrast

On white

8.96
#125158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#125158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125158
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125158#FFFFFF#000000##FFFFFF
##1251581.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494D58
Deuteranopia (green-blind)
#404658
Tritanopia (blue-blind)
#005553
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #125158;
/* rgb */ color: rgb(18, 81, 88);
/* oklch */ color: oklch(40.0% 0.062 206.1);
Tailwind
colors: {
  custom: {
    50: '#5d8287',
    500: '#125158',
    950: '#000000',
  },
}
SCSS
$custom: #125158;
$custom-light: #5d8287;
$custom-dark: #000000;
JSON
{
  "hex": "#125158",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 88
  },
  "hsl": {
    "h": 186,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40015,
    "c": 0.06155,
    "h": 206.1
  },
  "luminance": 0.06718
}

Semantic roles & 50–950 ramp

primary
#125158
secondary
#913E35
accent
#503FE9
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#050A0B
muted
#797C7C

Preview Lab

Preview with #125158

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

Preview Lab → · Contrast checker → · Palette generator →

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