#125A5C#125A5C

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

Color values

HEX#125A5C
RGBrgb(18, 90, 92)
HSLhsl(182, 67%, 22%)
HSVhsv(182, 80%, 36%)
CMYKcmyk(80.4%, 2.2%, 0%, 63.9%)
CIE-LABlab(34.42, -20.08, -7.33)
CIE-LCHlch(34.42, 21.37, 200.06°)
OKLaboklab(42.71% -0.0635 -0.0204)
OKLCHoklch(42.71% 0.067 197.8)
XYZxyz(5.8365, 8.2129, 11.4008)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A5C #5C1412
analogous
#125C39 #125A5C #12355C
triadic
#125A5C #5C125A #5A5C12
tetradic
#125A5C #39125C #5C1412 #355C12
square
#125A5C #39125C #5C1412 #355C12
split-complementary
#125A5C #5C1235 #5C3912
monochromatic
#05191A #082829 #125A5C #1C8C8F #26BEC2

Accessibility & contrast

On white

7.95
#125A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125A5C
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A5C#FFFFFF#000000##FFFFFF
##125A5C1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125a5c;
/* rgb */ color: rgb(18, 90, 92);
/* oklch */ color: oklch(42.7% 0.067 197.8);
Tailwind
colors: {
  custom: {
    50: '#5f898a',
    500: '#125a5c',
    950: '#000000',
  },
}
SCSS
$custom: #125a5c;
$custom-light: #5f898a;
$custom-dark: #000000;
JSON
{
  "hex": "#125a5c",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 92
  },
  "hsl": {
    "h": 181.622,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4271,
    "c": 0.06665,
    "h": 197.8
  },
  "luminance": 0.08214
}

Semantic roles & 50–950 ramp

primary
#125A5C
secondary
#943835
accent
#423EEA
background
#F5F8F8
surface
#EAF0F0
border
#C6CBCB
text
#050B0B
muted
#797C7C

Preview Lab

Preview with #125A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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