#125442#125442

#125442 is a dark, moderate teal. Relative luminance 0.069; OKLCH L 40.0% C 0.071 H 170.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#125442
RGBrgb(18, 84, 66)
HSLhsl(164, 65%, 20%)
HSVhsv(164, 79%, 33%)
CMYKcmyk(78.6%, 0%, 21.4%, 67.1%)
CIE-LABlab(31.49, -25.14, 4.75)
CIE-LCHlch(31.49, 25.58, 169.30°)
OKLaboklab(40.05% -0.0702 0.0121)
OKLCHoklch(40.05% 0.071 170.2)
XYZxyz(4.4026, 6.8621, 6.2457)
Luminance0.0686 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125442 #541224
analogous
#125421 #125442 #124554
triadic
#125442 #421254 #544212
tetradic
#125442 #211254 #541224 #455412
square
#125442 #211254 #541224 #455412
split-complementary
#125442 #541245 #542112
monochromatic
#051914 #07221A #125442 #1D866A #28B991

Accessibility & contrast

On white

8.85
#125442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#125442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125442
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125442#FFFFFF#000000##FFFFFF
##1254421.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514E41
Deuteranopia (green-blind)
#494743
Tritanopia (blue-blind)
#00554F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #125442;
/* rgb */ color: rgb(18, 84, 66);
/* oklch */ color: oklch(40.0% 0.071 170.2);
Tailwind
colors: {
  custom: {
    50: '#5b8476',
    500: '#125442',
    950: '#000000',
  },
}
SCSS
$custom: #125442;
$custom-light: #5b8476;
$custom-dark: #000000;
JSON
{
  "hex": "#125442",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 66
  },
  "hsl": {
    "h": 163.636,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.40048,
    "c": 0.07127,
    "h": 170.2
  },
  "luminance": 0.06863
}

Semantic roles & 50–950 ramp

primary
#125442
secondary
#8D354D
accent
#406EE8
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #125442

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

Preview Lab → · Contrast checker → · Palette generator →

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