#125746#125746

#125746 is a dark, moderate teal. Relative luminance 0.074; OKLCH L 41.1% C 0.072 H 172.1°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#125746
RGBrgb(18, 87, 70)
HSLhsl(165, 66%, 21%)
HSVhsv(165, 79%, 34%)
CMYKcmyk(79.3%, 0%, 19.5%, 65.9%)
CIE-LABlab(32.67, -25.46, 3.92)
CIE-LCHlch(32.67, 25.76, 171.25°)
OKLaboklab(41.05% -0.0715 0.01)
OKLCHoklch(41.05% 0.072 172.1)
XYZxyz(4.7626, 7.3866, 6.9679)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125746 #571223
analogous
#125723 #125746 #124557
triadic
#125746 #461257 #574612
tetradic
#125746 #231257 #571223 #455712
square
#125746 #231257 #571223 #455712
split-complementary
#125746 #571245 #572312
monochromatic
#051914 #08241D #125746 #1C8A6F #27BC98

Accessibility & contrast

On white

8.48
#125746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#125746 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125746
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125746#FFFFFF#000000##FFFFFF
##1257461.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545145
Deuteranopia (green-blind)
#4B4A47
Tritanopia (blue-blind)
#005852
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125746;
/* rgb */ color: rgb(18, 87, 70);
/* oklch */ color: oklch(41.1% 0.072 172.1);
Tailwind
colors: {
  custom: {
    50: '#5c8779',
    500: '#125746',
    950: '#000000',
  },
}
SCSS
$custom: #125746;
$custom-light: #5c8779;
$custom-dark: #000000;
JSON
{
  "hex": "#125746",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 70
  },
  "hsl": {
    "h": 165.217,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41051,
    "c": 0.07222,
    "h": 172.1
  },
  "luminance": 0.07387
}

Semantic roles & 50–950 ramp

primary
#125746
secondary
#90354B
accent
#3F69E9
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#050B09
muted
#797C7B

Preview Lab

Preview with #125746

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

Preview Lab → · Contrast checker → · Palette generator →

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