#125748#125748

#125748 is a dark, moderate teal. Relative luminance 0.074; OKLCH L 41.1% C 0.071 H 174.4°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#125748
RGBrgb(18, 87, 72)
HSLhsl(167, 66%, 21%)
HSVhsv(167, 79%, 34%)
CMYKcmyk(79.3%, 0%, 17.2%, 65.9%)
CIE-LABlab(32.73, -24.88, 2.74)
CIE-LCHlch(32.73, 25.03, 173.71°)
OKLaboklab(41.12% -0.0704 0.0069)
OKLCHoklch(41.12% 0.071 174.4)
XYZxyz(4.8267, 7.4123, 7.3060)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125748 #571221
analogous
#125726 #125748 #124357
triadic
#125748 #481257 #574812
tetradic
#125748 #261257 #571221 #435712
square
#125748 #261257 #571221 #435712
split-complementary
#125748 #571243 #572612
monochromatic
#051915 #08241E #125748 #1C8A72 #27BC9C

Accessibility & contrast

On white

8.46
#125748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#125748 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125748
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125748#FFFFFF#000000##FFFFFF
##1257481.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545147
Deuteranopia (green-blind)
#4B4A49
Tritanopia (blue-blind)
#005853
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125748;
/* rgb */ color: rgb(18, 87, 72);
/* oklch */ color: oklch(41.1% 0.071 174.4);
Tailwind
colors: {
  custom: {
    50: '#5c877a',
    500: '#125748',
    950: '#000000',
  },
}
SCSS
$custom: #125748;
$custom-light: #5c877a;
$custom-dark: #000000;
JSON
{
  "hex": "#125748",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 72
  },
  "hsl": {
    "h": 166.957,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41116,
    "c": 0.07079,
    "h": 174.4
  },
  "luminance": 0.07413
}

Semantic roles & 50–950 ramp

primary
#125748
secondary
#903549
accent
#3F64E9
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#050B09
muted
#797C7B

Preview Lab

Preview with #125748

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

Preview Lab → · Contrast checker → · Palette generator →

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