#125545#125545

#125545 is a dark, moderate teal. Relative luminance 0.071; OKLCH L 40.4% C 0.070 H 172.8°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#125545
RGBrgb(18, 85, 69)
HSLhsl(166, 65%, 20%)
HSVhsv(166, 79%, 33%)
CMYKcmyk(78.8%, 0%, 18.8%, 66.7%)
CIE-LABlab(31.93, -24.76, 3.49)
CIE-LCHlch(31.93, 25.01, 171.99°)
OKLaboklab(40.44% -0.0698 0.0088)
OKLCHoklch(40.44% 0.07 172.8)
XYZxyz(4.5716, 7.0547, 6.7498)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125545 #551222
analogous
#125524 #125545 #124355
triadic
#125545 #451255 #554512
tetradic
#125545 #241255 #551222 #435512
square
#125545 #241255 #551222 #435512
split-complementary
#125545 #551243 #552412
monochromatic
#051914 #07221C #125545 #1D886E #27BA97

Accessibility & contrast

On white

8.71
#125545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#125545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125545
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125545#FFFFFF#000000##FFFFFF
##1255451.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524F44
Deuteranopia (green-blind)
#494846
Tritanopia (blue-blind)
#005650
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #125545;
/* rgb */ color: rgb(18, 85, 69);
/* oklch */ color: oklch(40.4% 0.070 172.8);
Tailwind
colors: {
  custom: {
    50: '#5c8578',
    500: '#125545',
    950: '#000000',
  },
}
SCSS
$custom: #125545;
$custom-light: #5c8578;
$custom-dark: #000000;
JSON
{
  "hex": "#125545",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 69
  },
  "hsl": {
    "h": 165.672,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40436,
    "c": 0.07032,
    "h": 172.8
  },
  "luminance": 0.07055
}

Semantic roles & 50–950 ramp

primary
#125545
secondary
#8E354A
accent
#4068E8
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B09
muted
#797C7B

Preview Lab

Preview with #125545

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

Preview Lab → · Contrast checker → · Palette generator →

#125545 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva