#125958#125958

#125958 is a dark, moderate teal. Relative luminance 0.080; OKLCH L 42.3% C 0.066 H 193.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#125958
RGBrgb(18, 89, 88)
HSLhsl(179, 66%, 21%)
HSVhsv(179, 80%, 35%)
CMYKcmyk(79.8%, 0%, 1.1%, 65.1%)
CIE-LABlab(33.94, -20.88, -5.55)
CIE-LCHlch(33.94, 21.61, 194.88°)
OKLaboklab(42.27% -0.0643 -0.0154)
OKLCHoklch(42.27% 0.066 193.5)
XYZxyz(5.5825, 7.9773, 10.4762)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125958 #591213
analogous
#125934 #125958 #123659
triadic
#125958 #581259 #595812
tetradic
#125958 #341259 #591213 #365912
square
#125958 #341259 #591213 #365912
split-complementary
#125958 #591236 #593412
monochromatic
#051919 #082626 #125958 #1C8C8A #27BFBD

Accessibility & contrast

On white

8.09
#125958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#125958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125958
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125958#FFFFFF#000000##FFFFFF
##1259581.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535458
Deuteranopia (green-blind)
#494D59
Tritanopia (blue-blind)
#005C59
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125958;
/* rgb */ color: rgb(18, 89, 88);
/* oklch */ color: oklch(42.3% 0.066 193.5);
Tailwind
colors: {
  custom: {
    50: '#5e8887',
    500: '#125958',
    950: '#000000',
  },
}
SCSS
$custom: #125958;
$custom-light: #5e8887;
$custom-dark: #000000;
JSON
{
  "hex": "#125958",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 88
  },
  "hsl": {
    "h": 179.155,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42268,
    "c": 0.06617,
    "h": 193.5
  },
  "luminance": 0.07978
}

Semantic roles & 50–950 ramp

primary
#125958
secondary
#923537
accent
#3F41E9
background
#F5F8F8
surface
#EAF0EF
border
#C6CBCA
text
#050B0B
muted
#797C7C

Preview Lab

Preview with #125958

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

Preview Lab → · Contrast checker → · Palette generator →

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