#125A5B#125A5B

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

Color values

HEX#125A5B
RGBrgb(18, 90, 91)
HSLhsl(181, 67%, 21%)
HSVhsv(181, 80%, 36%)
CMYKcmyk(80.2%, 1.1%, 0%, 64.3%)
CIE-LABlab(34.39, -20.41, -6.76)
CIE-LCHlch(34.39, 21.50, 198.31°)
OKLaboklab(42.67% -0.064 -0.0188)
OKLCHoklch(42.67% 0.067 196.4)
XYZxyz(5.7931, 8.1956, 11.1721)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A5B #5B1312
analogous
#125B38 #125A5B #12365B
triadic
#125A5B #5B125A #5A5B12
tetradic
#125A5B #38125B #5B1312 #365B12
square
#125A5B #38125B #5B1312 #365B12
split-complementary
#125A5B #5B1236 #5B3812
monochromatic
#05191A #082728 #125A5B #1C8D8E #26BFC1

Accessibility & contrast

On white

7.96
#125A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125A5B
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A5B#FFFFFF#000000##FFFFFF
##125A5B1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53555B
Deuteranopia (green-blind)
#494E5B
Tritanopia (blue-blind)
#005D5A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125a5b;
/* rgb */ color: rgb(18, 90, 91);
/* oklch */ color: oklch(42.7% 0.067 196.4);
Tailwind
colors: {
  custom: {
    50: '#5f8989',
    500: '#125a5b',
    950: '#000000',
  },
}
SCSS
$custom: #125a5b;
$custom-light: #5f8989;
$custom-dark: #000000;
JSON
{
  "hex": "#125a5b",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 91
  },
  "hsl": {
    "h": 180.822,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.4267,
    "c": 0.06665,
    "h": 196.4
  },
  "luminance": 0.08196
}

Semantic roles & 50–950 ramp

primary
#125A5B
secondary
#933735
accent
#403EEA
background
#F5F8F8
surface
#EAF0F0
border
#C6CBCB
text
#050B0B
muted
#797C7C

Preview Lab

Preview with #125A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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