#125A5A#125A5A

#125A5A is a dark, moderate teal. Relative luminance 0.082; OKLCH L 42.6% C 0.067 H 194.9°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#125A5A
RGBrgb(18, 90, 90)
HSLhsl(180, 67%, 21%)
HSVhsv(180, 80%, 35%)
CMYKcmyk(80%, 0%, 0%, 64.7%)
CIE-LABlab(34.35, -20.75, -6.18)
CIE-LCHlch(34.35, 21.65, 196.59°)
OKLaboklab(42.63% -0.0644 -0.0172)
OKLCHoklch(42.63% 0.067 194.9)
XYZxyz(5.7502, 8.1784, 10.9464)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A5A #5A1212
analogous
#125A36 #125A5A #12365A
triadic
#125A5A #5A125A #5A5A12
tetradic
#125A5A #36125A #5A1212 #365A12
square
#125A5A #36125A #5A1212 #365A12
split-complementary
#125A5A #5A1236 #5A3612
monochromatic
#051A1A #082727 #125A5A #1C8D8D #26C0C0

Accessibility & contrast

On white

7.97
#125A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#125A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A5A
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A5A#FFFFFF#000000##FFFFFF
##125A5A1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54555A
Deuteranopia (green-blind)
#494E5A
Tritanopia (blue-blind)
#005D5A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125a5a;
/* rgb */ color: rgb(18, 90, 90);
/* oklch */ color: oklch(42.6% 0.067 194.9);
Tailwind
colors: {
  custom: {
    50: '#5f8988',
    500: '#125a5a',
    950: '#000000',
  },
}
SCSS
$custom: #125a5a;
$custom-light: #5f8988;
$custom-dark: #000000;
JSON
{
  "hex": "#125a5a",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 90
  },
  "hsl": {
    "h": 180,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.4263,
    "c": 0.06671,
    "h": 194.9
  },
  "luminance": 0.08179
}

Semantic roles & 50–950 ramp

primary
#125A5A
secondary
#933535
accent
#3E3EEA
background
#F5F8F8
surface
#EAF0EF
border
#C6CBCA
text
#050B0B
muted
#797C7C

Preview Lab

Preview with #125A5A

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

Preview Lab → · Contrast checker → · Palette generator →

#125A5A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva