#125747#125747

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

Color values

HEX#125747
RGBrgb(18, 87, 71)
HSLhsl(166, 66%, 21%)
HSVhsv(166, 79%, 34%)
CMYKcmyk(79.3%, 0%, 18.4%, 65.9%)
CIE-LABlab(32.70, -25.17, 3.33)
CIE-LCHlch(32.70, 25.39, 172.46°)
OKLaboklab(41.08% -0.071 0.0084)
OKLCHoklch(41.08% 0.071 173.2)
XYZxyz(4.7944, 7.3994, 7.1356)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125747 #571222
analogous
#125724 #125747 #124457
triadic
#125747 #471257 #574712
tetradic
#125747 #241257 #571222 #445712
square
#125747 #241257 #571222 #445712
split-complementary
#125747 #571244 #572412
monochromatic
#051915 #08241E #125747 #1C8A70 #27BC9A

Accessibility & contrast

On white

8.47
#125747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125747
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125747#FFFFFF#000000##FFFFFF
##1257471.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125747;
/* rgb */ color: rgb(18, 87, 71);
/* oklch */ color: oklch(41.1% 0.071 173.2);
Tailwind
colors: {
  custom: {
    50: '#5c877a',
    500: '#125747',
    950: '#000000',
  },
}
SCSS
$custom: #125747;
$custom-light: #5c877a;
$custom-dark: #000000;
JSON
{
  "hex": "#125747",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 71
  },
  "hsl": {
    "h": 166.087,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41083,
    "c": 0.07149,
    "h": 173.2
  },
  "luminance": 0.074
}

Semantic roles & 50–950 ramp

primary
#125747
secondary
#90354A
accent
#3F66E9
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#050B09
muted
#797C7B

Preview Lab

Preview with #125747

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

Preview Lab → · Contrast checker → · Palette generator →

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