#125752#125752

#125752 is a dark, moderate teal. Relative luminance 0.076; OKLCH L 41.5% C 0.066 H 187.7°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#125752
RGBrgb(18, 87, 82)
HSLhsl(176, 66%, 21%)
HSVhsv(176, 79%, 34%)
CMYKcmyk(79.3%, 0%, 5.7%, 65.9%)
CIE-LABlab(33.04, -21.79, -3.11)
CIE-LCHlch(33.04, 22.01, 188.12°)
OKLaboklab(41.47% -0.0651 -0.0088)
OKLCHoklch(41.47% 0.066 187.7)
XYZxyz(5.1799, 7.5536, 9.1660)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125752 #571217
analogous
#12572F #125752 #123957
triadic
#125752 #521257 #575212
tetradic
#125752 #2F1257 #571217 #395712
square
#125752 #2F1257 #571217 #395712
split-complementary
#125752 #571239 #572F12
monochromatic
#051918 #082422 #125752 #1C8A82 #27BCB2

Accessibility & contrast

On white

8.36
#125752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#125752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125752
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125752#FFFFFF#000000##FFFFFF
##1257521.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525252
Deuteranopia (green-blind)
#484B53
Tritanopia (blue-blind)
#005955
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125752;
/* rgb */ color: rgb(18, 87, 82);
/* oklch */ color: oklch(41.5% 0.066 187.7);
Tailwind
colors: {
  custom: {
    50: '#5d8782',
    500: '#125752',
    950: '#000000',
  },
}
SCSS
$custom: #125752;
$custom-light: #5d8782;
$custom-dark: #000000;
JSON
{
  "hex": "#125752",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 82
  },
  "hsl": {
    "h": 175.652,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41469,
    "c": 0.06573,
    "h": 187.7
  },
  "luminance": 0.07554
}

Semantic roles & 50–950 ramp

primary
#125752
secondary
#90353C
accent
#3F4BE9
background
#F5F8F7
surface
#EAEFEE
border
#C6CAC9
text
#050B0A
muted
#797C7C

Preview Lab

Preview with #125752

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

Preview Lab → · Contrast checker → · Palette generator →

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