#125848#125848

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

Color values

HEX#125848
RGBrgb(18, 88, 72)
HSLhsl(166, 66%, 21%)
HSVhsv(166, 80%, 35%)
CMYKcmyk(79.5%, 0%, 18.2%, 65.5%)
CIE-LABlab(33.08, -25.37, 3.25)
CIE-LCHlch(33.08, 25.57, 172.69°)
OKLaboklab(41.41% -0.0716 0.0082)
OKLCHoklch(41.41% 0.072 173.5)
XYZxyz(4.9083, 7.5753, 7.3331)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125848 #581222
analogous
#125825 #125848 #124558
triadic
#125848 #481258 #584812
tetradic
#125848 #251258 #581222 #455812
square
#125848 #251258 #581222 #455812
split-complementary
#125848 #581245 #582512
monochromatic
#051915 #08251E #125848 #1C8B72 #27BE9B

Accessibility & contrast

On white

8.35
#125848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#125848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125848
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125848#FFFFFF#000000##FFFFFF
##1258481.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125848;
/* rgb */ color: rgb(18, 88, 72);
/* oklch */ color: oklch(41.4% 0.072 173.5);
Tailwind
colors: {
  custom: {
    50: '#5d877a',
    500: '#125848',
    950: '#000000',
  },
}
SCSS
$custom: #125848;
$custom-light: #5d877a;
$custom-dark: #000000;
JSON
{
  "hex": "#125848",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 72
  },
  "hsl": {
    "h": 166.286,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41406,
    "c": 0.07207,
    "h": 173.5
  },
  "luminance": 0.07576
}

Semantic roles & 50–950 ramp

primary
#125848
secondary
#91354A
accent
#3F66E9
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#050B09
muted
#797C7B

Preview Lab

Preview with #125848

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

Preview Lab → · Contrast checker → · Palette generator →

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