#125147#125147

#125147 is a dark, moderate teal. Relative luminance 0.065; OKLCH L 39.3% C 0.064 H 179.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#125147
RGBrgb(18, 81, 71)
HSLhsl(170, 64%, 19%)
HSVhsv(170, 78%, 32%)
CMYKcmyk(77.8%, 0%, 12.3%, 68.2%)
CIE-LABlab(30.56, -22.15, 0.24)
CIE-LCHlch(30.56, 22.15, 179.39°)
OKLaboklab(39.34% -0.064 0.0003)
OKLCHoklch(39.34% 0.064 179.8)
XYZxyz(4.3287, 6.4679, 6.9803)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125147 #51121C
analogous
#125128 #125147 #123C51
triadic
#125147 #471251 #514712
tetradic
#125147 #281251 #51121C #3C5112
square
#125147 #281251 #51121C #3C5112
split-complementary
#125147 #51123C #512812
monochromatic
#061916 #071F1B #125147 #1D8373 #28B59F

Accessibility & contrast

On white

9.16
#125147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#125147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125147
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125147#FFFFFF#000000##FFFFFF
##1251471.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4C47
Deuteranopia (green-blind)
#454548
Tritanopia (blue-blind)
#00524E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #125147;
/* rgb */ color: rgb(18, 81, 71);
/* oklch */ color: oklch(39.3% 0.064 179.8);
Tailwind
colors: {
  custom: {
    50: '#5b827a',
    500: '#125147',
    950: '#000000',
  },
}
SCSS
$custom: #125147;
$custom-light: #5b827a;
$custom-dark: #000000;
JSON
{
  "hex": "#125147",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 71
  },
  "hsl": {
    "h": 170.476,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39338,
    "c": 0.064,
    "h": 179.8
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#125147
secondary
#8A3542
accent
#415BE7
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A09
muted
#797C7B

Preview Lab

Preview with #125147

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

Preview Lab → · Contrast checker → · Palette generator →

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