#125148#125148

#125148 is a dark, moderate teal. Relative luminance 0.065; OKLCH L 39.4% C 0.063 H 181.2°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#125148
RGBrgb(18, 81, 72)
HSLhsl(171, 64%, 19%)
HSVhsv(171, 78%, 32%)
CMYKcmyk(77.8%, 0%, 11.1%, 68.2%)
CIE-LABlab(30.59, -21.84, -0.36)
CIE-LCHlch(30.59, 21.84, 180.93°)
OKLaboklab(39.37% -0.0635 -0.0013)
OKLCHoklch(39.37% 0.063 181.2)
XYZxyz(4.3610, 6.4808, 7.1507)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125148 #51121B
analogous
#125129 #125148 #123B51
triadic
#125148 #481251 #514812
tetradic
#125148 #291251 #51121B #3B5112
square
#125148 #291251 #51121B #3B5112
split-complementary
#125148 #51123B #512912
monochromatic
#061916 #071F1B #125148 #1D8375 #28B5A1

Accessibility & contrast

On white

9.15
#125148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#125148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125148
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125148#FFFFFF#000000##FFFFFF
##1251481.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4C48
Deuteranopia (green-blind)
#444549
Tritanopia (blue-blind)
#00534E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #125148;
/* rgb */ color: rgb(18, 81, 72);
/* oklch */ color: oklch(39.4% 0.063 181.2);
Tailwind
colors: {
  custom: {
    50: '#5b827a',
    500: '#125148',
    950: '#000000',
  },
}
SCSS
$custom: #125148;
$custom-light: #5b827a;
$custom-dark: #000000;
JSON
{
  "hex": "#125148",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 72
  },
  "hsl": {
    "h": 171.429,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39374,
    "c": 0.06348,
    "h": 181.2
  },
  "luminance": 0.06481
}

Semantic roles & 50–950 ramp

primary
#125148
secondary
#8A3541
accent
#4159E7
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A09
muted
#797C7B

Preview Lab

Preview with #125148

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

Preview Lab → · Contrast checker → · Palette generator →

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