#125F54#125F54

#125F54 is a dark, moderate teal. Relative luminance 0.090; OKLCH L 43.8% C 0.073 H 180.7°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#125F54
RGBrgb(18, 95, 84)
HSLhsl(171, 68%, 22%)
HSVhsv(171, 81%, 37%)
CMYKcmyk(81.1%, 0%, 11.6%, 62.7%)
CIE-LABlab(35.89, -25.24, -0.16)
CIE-LCHlch(35.89, 25.24, 180.37°)
OKLaboklab(43.82% -0.0731 -0.0008)
OKLCHoklch(43.82% 0.073 180.7)
XYZxyz(5.9411, 8.9524, 9.8006)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F54 #5F121D
analogous
#125F2E #125F54 #12435F
triadic
#125F54 #54125F #5F5412
tetradic
#125F54 #2E125F #5F121D #435F12
square
#125F54 #2E125F #5F121D #435F12
split-complementary
#125F54 #5F1243 #5F2E12
monochromatic
#051A17 #082C27 #125F54 #1C9281 #25C6AF

Accessibility & contrast

On white

7.53
#125F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#125F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F54
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F54#FFFFFF#000000##FFFFFF
##125F541.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5954
Deuteranopia (green-blind)
#505155
Tritanopia (blue-blind)
#00615C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #125f54;
/* rgb */ color: rgb(18, 95, 84);
/* oklch */ color: oklch(43.8% 0.073 180.7);
Tailwind
colors: {
  custom: {
    50: '#5f8d84',
    500: '#125f54',
    950: '#000000',
  },
}
SCSS
$custom: #125f54;
$custom-light: #5f8d84;
$custom-dark: #000000;
JSON
{
  "hex": "#125f54",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 84
  },
  "hsl": {
    "h": 171.429,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4382,
    "c": 0.07314,
    "h": 180.7
  },
  "luminance": 0.08953
}

Semantic roles & 50–950 ramp

primary
#125F54
secondary
#973644
accent
#3D56EB
background
#F5F8F8
surface
#EAF0EF
border
#C6CBCA
text
#050C0A
muted
#797D7C

Preview Lab

Preview with #125F54

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

Preview Lab → · Contrast checker → · Palette generator →

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