#125257#125257

#125257 is a dark, moderate teal. Relative luminance 0.069; OKLCH L 40.3% C 0.062 H 202.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#125257
RGBrgb(18, 82, 87)
HSLhsl(184, 66%, 21%)
HSVhsv(184, 79%, 34%)
CMYKcmyk(79.3%, 5.7%, 0%, 65.9%)
CIE-LABlab(31.46, -17.41, -8.62)
CIE-LCHlch(31.46, 19.43, 206.35°)
OKLaboklab(40.25% -0.0569 -0.0239)
OKLCHoklch(40.25% 0.062 202.8)
XYZxyz(4.9863, 6.8507, 10.0745)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125257 #571712
analogous
#125739 #125257 #122F57
triadic
#125257 #571252 #525712
tetradic
#125257 #391257 #571712 #2F5712
square
#125257 #391257 #571712 #2F5712
split-complementary
#125257 #57122F #573912
monochromatic
#051819 #082224 #125257 #1C828A #27B2BC

Accessibility & contrast

On white

8.86
#125257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#125257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125257
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125257#FFFFFF#000000##FFFFFF
##1252571.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4E57
Deuteranopia (green-blind)
#414757
Tritanopia (blue-blind)
#005653
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #125257;
/* rgb */ color: rgb(18, 82, 87);
/* oklch */ color: oklch(40.3% 0.062 202.8);
Tailwind
colors: {
  custom: {
    50: '#5d8386',
    500: '#125257',
    950: '#000000',
  },
}
SCSS
$custom: #125257;
$custom-light: #5d8386;
$custom-dark: #000000;
JSON
{
  "hex": "#125257",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 87
  },
  "hsl": {
    "h": 184.348,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40253,
    "c": 0.06174,
    "h": 202.8
  },
  "luminance": 0.06851
}

Semantic roles & 50–950 ramp

primary
#125257
secondary
#903C35
accent
#4B3FE9
background
#F5F8F8
surface
#E9EFEF
border
#C5CACA
text
#050A0B
muted
#797C7C

Preview Lab

Preview with #125257

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

Preview Lab → · Contrast checker → · Palette generator →

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