#125F5F#125F5F

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

Color values

HEX#125F5F
RGBrgb(18, 95, 95)
HSLhsl(180, 68%, 22%)
HSVhsv(180, 81%, 37%)
CMYKcmyk(81.1%, 0%, 0%, 62.7%)
CIE-LABlab(36.25, -21.73, -6.47)
CIE-LCHlch(36.25, 22.67, 196.57°)
OKLaboklab(44.23% -0.0675 -0.018)
OKLCHoklch(44.23% 0.07 194.9)
XYZxyz(6.4063, 9.1385, 12.2505)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F5F #5F1212
analogous
#125F39 #125F5F #12395F
triadic
#125F5F #5F125F #5F5F12
tetradic
#125F5F #39125F #5F1212 #395F12
square
#125F5F #39125F #5F1212 #395F12
split-complementary
#125F5F #5F1239 #5F3912
monochromatic
#051A1A #082C2C #125F5F #1C9292 #25C6C6

Accessibility & contrast

On white

7.43
#125F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#125F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F5F
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F5F#FFFFFF#000000##FFFFFF
##125F5F1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585A5F
Deuteranopia (green-blind)
#4D5260
Tritanopia (blue-blind)
#00625F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #125f5f;
/* rgb */ color: rgb(18, 95, 95);
/* oklch */ color: oklch(44.2% 0.070 194.9);
Tailwind
colors: {
  custom: {
    50: '#608d8c',
    500: '#125f5f',
    950: '#000000',
  },
}
SCSS
$custom: #125f5f;
$custom-light: #608d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#125f5f",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 95
  },
  "hsl": {
    "h": 180,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44229,
    "c": 0.06987,
    "h": 194.9
  },
  "luminance": 0.09139
}

Semantic roles & 50–950 ramp

primary
#125F5F
secondary
#973636
accent
#3D3DEB
background
#F6F8F8
surface
#EBF0F0
border
#C6CBCB
text
#050C0C
muted
#7A7D7D

Preview Lab

Preview with #125F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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