#125A5F#125A5F

#125A5F is a dark, moderate teal. Relative luminance 0.083; OKLCH L 42.8% C 0.067 H 202.1°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#125A5F
RGBrgb(18, 90, 95)
HSLhsl(184, 68%, 22%)
HSVhsv(184, 81%, 37%)
CMYKcmyk(81.1%, 5.3%, 0%, 62.7%)
CIE-LABlab(34.53, -19.05, -9.05)
CIE-LCHlch(34.53, 21.09, 205.40°)
OKLaboklab(42.84% -0.062 -0.0251)
OKLCHoklch(42.84% 0.067 202.1)
XYZxyz(5.9703, 8.2664, 12.1052)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A5F #5F1712
analogous
#125F3E #125A5F #12345F
triadic
#125A5F #5F125A #5A5F12
tetradic
#125A5F #3E125F #5F1712 #345F12
square
#125A5F #3E125F #5F1712 #345F12
split-complementary
#125A5F #5F1234 #5F3E12
monochromatic
#05181A #08292C #125A5F #1C8B92 #25BBC6

Accessibility & contrast

On white

7.91
#125A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#125A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A5F
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A5F#FFFFFF#000000##FFFFFF
##125A5F1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52565F
Deuteranopia (green-blind)
#484E5F
Tritanopia (blue-blind)
#005E5B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125a5f;
/* rgb */ color: rgb(18, 90, 95);
/* oklch */ color: oklch(42.8% 0.067 202.1);
Tailwind
colors: {
  custom: {
    50: '#5f898c',
    500: '#125a5f',
    950: '#000000',
  },
}
SCSS
$custom: #125a5f;
$custom-light: #5f898c;
$custom-dark: #000000;
JSON
{
  "hex": "#125a5f",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 95
  },
  "hsl": {
    "h": 183.896,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42835,
    "c": 0.06689,
    "h": 202.1
  },
  "luminance": 0.08267
}

Semantic roles & 50–950 ramp

primary
#125A5F
secondary
#973C36
accent
#483DEB
background
#F6F8F8
surface
#EBF0F0
border
#C6CBCB
text
#050B0C
muted
#7A7C7D

Preview Lab

Preview with #125A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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