#125F56#125F56

#125F56 is a dark, moderate teal. Relative luminance 0.090; OKLCH L 43.9% C 0.072 H 183.1°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#125F56
RGBrgb(18, 95, 86)
HSLhsl(173, 68%, 22%)
HSVhsv(173, 81%, 37%)
CMYKcmyk(81.1%, 0%, 9.5%, 62.7%)
CIE-LABlab(35.95, -24.63, -1.31)
CIE-LCHlch(35.95, 24.66, 183.05°)
OKLaboklab(43.89% -0.0721 -0.004)
OKLCHoklch(43.89% 0.072 183.1)
XYZxyz(6.0206, 8.9842, 10.2191)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F56 #5F121B
analogous
#125F30 #125F56 #12425F
triadic
#125F56 #56125F #5F5612
tetradic
#125F56 #30125F #5F121B #425F12
square
#125F56 #30125F #5F121B #425F12
split-complementary
#125F56 #5F1242 #5F3012
monochromatic
#051A17 #082C27 #125F56 #1C9285 #25C6B3

Accessibility & contrast

On white

7.51
#125F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#125F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F56
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F56#FFFFFF#000000##FFFFFF
##125F561.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5956
Deuteranopia (green-blind)
#505157
Tritanopia (blue-blind)
#00615C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #125f56;
/* rgb */ color: rgb(18, 95, 86);
/* oklch */ color: oklch(43.9% 0.072 183.1);
Tailwind
colors: {
  custom: {
    50: '#5f8d85',
    500: '#125f56',
    950: '#000000',
  },
}
SCSS
$custom: #125f56;
$custom-light: #5f8d85;
$custom-dark: #000000;
JSON
{
  "hex": "#125f56",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 86
  },
  "hsl": {
    "h": 172.987,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4389,
    "c": 0.0722,
    "h": 183.1
  },
  "luminance": 0.08985
}

Semantic roles & 50–950 ramp

primary
#125F56
secondary
#973641
accent
#3D51EB
background
#F6F8F8
surface
#EBF0EF
border
#C6CBCA
text
#050C0B
muted
#7A7D7C

Preview Lab

Preview with #125F56

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

Preview Lab → · Contrast checker → · Palette generator →

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