#125F5C#125F5C

#125F5C is a dark, moderate teal. Relative luminance 0.091; OKLCH L 44.1% C 0.070 H 190.9°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#125F5C
RGBrgb(18, 95, 92)
HSLhsl(178, 68%, 22%)
HSVhsv(178, 81%, 37%)
CMYKcmyk(81.1%, 0%, 3.2%, 62.7%)
CIE-LABlab(36.15, -22.72, -4.76)
CIE-LCHlch(36.15, 23.21, 191.82°)
OKLaboklab(44.11% -0.069 -0.0133)
OKLCHoklch(44.11% 0.07 190.9)
XYZxyz(6.2725, 9.0850, 11.5461)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F5C #5F1215
analogous
#125F35 #125F5C #123C5F
triadic
#125F5C #5C125F #5F5C12
tetradic
#125F5C #35125F #5F1215 #3C5F12
square
#125F5C #35125F #5F1215 #3C5F12
split-complementary
#125F5C #5F123C #5F3512
monochromatic
#051A19 #082C2A #125F5C #1C928E #25C6C0

Accessibility & contrast

On white

7.45
#125F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#125F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F5C
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F5C#FFFFFF#000000##FFFFFF
##125F5C1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595A5C
Deuteranopia (green-blind)
#4E525D
Tritanopia (blue-blind)
#00625E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #125f5c;
/* rgb */ color: rgb(18, 95, 92);
/* oklch */ color: oklch(44.1% 0.070 190.9);
Tailwind
colors: {
  custom: {
    50: '#608d8a',
    500: '#125f5c',
    950: '#000000',
  },
}
SCSS
$custom: #125f5c;
$custom-light: #608d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#125f5c",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 92
  },
  "hsl": {
    "h": 177.662,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44112,
    "c": 0.07028,
    "h": 190.9
  },
  "luminance": 0.09086
}

Semantic roles & 50–950 ramp

primary
#125F5C
secondary
#973639
accent
#3D44EB
background
#F6F8F8
surface
#EBF0F0
border
#C6CBCB
text
#050C0B
muted
#7A7D7C

Preview Lab

Preview with #125F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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