#125751#125751

#125751 is a dark, moderate teal. Relative luminance 0.075; OKLCH L 41.4% C 0.066 H 186.2°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#125751
RGBrgb(18, 87, 81)
HSLhsl(175, 66%, 21%)
HSVhsv(175, 79%, 34%)
CMYKcmyk(79.3%, 0%, 6.9%, 65.9%)
CIE-LABlab(33.00, -22.11, -2.53)
CIE-LCHlch(33.00, 22.26, 186.52°)
OKLaboklab(41.43% -0.0657 -0.0072)
OKLCHoklch(41.43% 0.066 186.2)
XYZxyz(5.1421, 7.5385, 8.9670)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125751 #571218
analogous
#12572E #125751 #123A57
triadic
#125751 #511257 #575112
tetradic
#125751 #2E1257 #571218 #3A5712
square
#125751 #2E1257 #571218 #3A5712
split-complementary
#125751 #57123A #572E12
monochromatic
#051918 #082422 #125751 #1C8A80 #27BCAF

Accessibility & contrast

On white

8.37
#125751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125751
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125751#FFFFFF#000000##FFFFFF
##1257511.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125751;
/* rgb */ color: rgb(18, 87, 81);
/* oklch */ color: oklch(41.4% 0.066 186.2);
Tailwind
colors: {
  custom: {
    50: '#5d8781',
    500: '#125751',
    950: '#000000',
  },
}
SCSS
$custom: #125751;
$custom-light: #5d8781;
$custom-dark: #000000;
JSON
{
  "hex": "#125751",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 81
  },
  "hsl": {
    "h": 174.783,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41432,
    "c": 0.06605,
    "h": 186.2
  },
  "luminance": 0.07539
}

Semantic roles & 50–950 ramp

primary
#125751
secondary
#90353D
accent
#3F4EE9
background
#F5F8F7
surface
#E9EFEE
border
#C5CAC9
text
#050B0A
muted
#797C7C

Preview Lab

Preview with #125751

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

Preview Lab → · Contrast checker → · Palette generator →

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