#125F5D#125F5D

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

Color values

HEX#125F5D
RGBrgb(18, 95, 93)
HSLhsl(178, 68%, 22%)
HSVhsv(178, 81%, 37%)
CMYKcmyk(81.1%, 0%, 2.1%, 62.7%)
CIE-LABlab(36.18, -22.39, -5.33)
CIE-LCHlch(36.18, 23.02, 193.38°)
OKLaboklab(44.15% -0.0685 -0.0149)
OKLCHoklch(44.15% 0.07 192.2)
XYZxyz(6.3165, 9.1026, 11.7779)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F5D #5F1214
analogous
#125F37 #125F5D #123A5F
triadic
#125F5D #5D125F #5F5D12
tetradic
#125F5D #37125F #5F1214 #3A5F12
square
#125F5D #37125F #5F1214 #3A5F12
split-complementary
#125F5D #5F123A #5F3712
monochromatic
#051A19 #082C2B #125F5D #1C928F #25C6C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125F5D#FFFFFF#000000##FFFFFF
##125F5D1.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)
#595A5D
Deuteranopia (green-blind)
#4E525E
Tritanopia (blue-blind)
#00625E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #125f5d;
/* rgb */ color: rgb(18, 95, 93);
/* oklch */ color: oklch(44.1% 0.070 192.2);
Tailwind
colors: {
  custom: {
    50: '#608d8a',
    500: '#125f5d',
    950: '#000000',
  },
}
SCSS
$custom: #125f5d;
$custom-light: #608d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#125f5d",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 93
  },
  "hsl": {
    "h": 178.442,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4415,
    "c": 0.0701,
    "h": 192.2
  },
  "luminance": 0.09103
}

Semantic roles & 50–950 ramp

primary
#125F5D
secondary
#973638
accent
#3D41EB
background
#F6F8F8
surface
#EBF0F0
border
#C6CBCB
text
#050C0B
muted
#7A7D7C

Preview Lab

Preview with #125F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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