#125850#125850

#125850 is a dark, moderate teal. Relative luminance 0.077; OKLCH L 41.7% C 0.067 H 183.6°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#125850
RGBrgb(18, 88, 80)
HSLhsl(173, 66%, 21%)
HSVhsv(173, 80%, 35%)
CMYKcmyk(79.5%, 0%, 9.1%, 65.5%)
CIE-LABlab(33.32, -22.95, -1.43)
CIE-LCHlch(33.32, 22.99, 183.56°)
OKLaboklab(41.68% -0.0673 -0.0042)
OKLCHoklch(41.68% 0.067 183.6)
XYZxyz(5.1864, 7.6866, 8.7982)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125850 #58121A
analogous
#12582D #125850 #123D58
triadic
#125850 #501258 #585012
tetradic
#125850 #2D1258 #58121A #3D5812
square
#125850 #2D1258 #58121A #3D5812
split-complementary
#125850 #58123D #582D12
monochromatic
#051917 #082522 #125850 #1C8B7E #27BEAC

Accessibility & contrast

On white

8.28
#125850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#125850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125850
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125850#FFFFFF#000000##FFFFFF
##1258501.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535250
Deuteranopia (green-blind)
#4A4B51
Tritanopia (blue-blind)
#005A55
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125850;
/* rgb */ color: rgb(18, 88, 80);
/* oklch */ color: oklch(41.7% 0.067 183.6);
Tailwind
colors: {
  custom: {
    50: '#5d8781',
    500: '#125850',
    950: '#000000',
  },
}
SCSS
$custom: #125850;
$custom-light: #5d8781;
$custom-dark: #000000;
JSON
{
  "hex": "#125850",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 80
  },
  "hsl": {
    "h": 173.143,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41681,
    "c": 0.06746,
    "h": 183.6
  },
  "luminance": 0.07687
}

Semantic roles & 50–950 ramp

primary
#125850
secondary
#913540
accent
#3F52E9
background
#F5F8F7
surface
#E9EFEE
border
#C5CAC9
text
#050B0A
muted
#797C7C

Preview Lab

Preview with #125850

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

Preview Lab → · Contrast checker → · Palette generator →

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