#125342#125342

#125342 is a dark, moderate teal. Relative luminance 0.067; OKLCH L 39.8% C 0.070 H 171.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#125342
RGBrgb(18, 83, 66)
HSLhsl(164, 64%, 20%)
HSVhsv(164, 78%, 33%)
CMYKcmyk(78.3%, 0%, 20.5%, 67.5%)
CIE-LABlab(31.13, -24.64, 4.24)
CIE-LCHlch(31.13, 25.01, 170.25°)
OKLaboklab(39.76% -0.0691 0.0108)
OKLCHoklch(39.76% 0.07 171.1)
XYZxyz(4.3256, 6.7080, 6.2200)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125342 #531223
analogous
#125322 #125342 #124353
triadic
#125342 #421253 #534212
tetradic
#125342 #221253 #531223 #435312
square
#125342 #221253 #531223 #435312
split-complementary
#125342 #531243 #532212
monochromatic
#051914 #07211A #125342 #1D856A #28B892

Accessibility & contrast

On white

8.97
#125342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#125342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125342
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125342#FFFFFF#000000##FFFFFF
##1253421.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504D41
Deuteranopia (green-blind)
#484743
Tritanopia (blue-blind)
#00544E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #125342;
/* rgb */ color: rgb(18, 83, 66);
/* oklch */ color: oklch(39.8% 0.070 171.1);
Tailwind
colors: {
  custom: {
    50: '#5b8476',
    500: '#125342',
    950: '#000000',
  },
}
SCSS
$custom: #125342;
$custom-light: #5b8476;
$custom-dark: #000000;
JSON
{
  "hex": "#125342",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 66
  },
  "hsl": {
    "h": 164.308,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39755,
    "c": 0.06991,
    "h": 171.1
  },
  "luminance": 0.06708
}

Semantic roles & 50–950 ramp

primary
#125342
secondary
#8C354C
accent
#406CE7
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #125342

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

Preview Lab → · Contrast checker → · Palette generator →

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