#125258#125258

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

Color values

HEX#125258
RGBrgb(18, 82, 88)
HSLhsl(185, 66%, 21%)
HSVhsv(185, 80%, 35%)
CMYKcmyk(79.5%, 6.8%, 0%, 65.5%)
CIE-LABlab(31.50, -17.06, -9.20)
CIE-LCHlch(31.50, 19.39, 208.34°)
OKLaboklab(40.3% -0.0564 -0.0256)
OKLCHoklch(40.3% 0.062 204.4)
XYZxyz(5.0274, 6.8672, 10.2912)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125258 #581812
analogous
#12583B #125258 #122F58
triadic
#125258 #581252 #525812
tetradic
#125258 #3B1258 #581812 #2F5812
square
#125258 #3B1258 #581812 #2F5812
split-complementary
#125258 #58122F #583B12
monochromatic
#051819 #082325 #125258 #1C818B #27B1BE

Accessibility & contrast

On white

8.85
#125258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125258
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125258#FFFFFF#000000##FFFFFF
##1252581.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4E58
Deuteranopia (green-blind)
#414758
Tritanopia (blue-blind)
#005654
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #125258;
/* rgb */ color: rgb(18, 82, 88);
/* oklch */ color: oklch(40.3% 0.062 204.4);
Tailwind
colors: {
  custom: {
    50: '#5d8387',
    500: '#125258',
    950: '#000000',
  },
}
SCSS
$custom: #125258;
$custom-light: #5d8387;
$custom-dark: #000000;
JSON
{
  "hex": "#125258",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 88
  },
  "hsl": {
    "h": 185.143,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40296,
    "c": 0.06194,
    "h": 204.4
  },
  "luminance": 0.06868
}

Semantic roles & 50–950 ramp

primary
#125258
secondary
#913D35
accent
#4D3FE9
background
#F5F8F8
surface
#E9EFEF
border
#C5CACA
text
#050A0B
muted
#797C7C

Preview Lab

Preview with #125258

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

Preview Lab → · Contrast checker → · Palette generator →

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