#125739#125739

#125739 is a dark, moderate teal. Relative luminance 0.072; OKLCH L 40.7% C 0.084 H 159.6°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#125739
RGBrgb(18, 87, 57)
HSLhsl(154, 66%, 21%)
HSVhsv(154, 79%, 34%)
CMYKcmyk(79.3%, 0%, 34.5%, 65.9%)
CIE-LABlab(32.35, -28.92, 11.57)
CIE-LCHlch(32.35, 31.15, 158.20°)
OKLaboklab(40.68% -0.0786 0.0293)
OKLCHoklch(40.68% 0.084 159.6)
XYZxyz(4.3957, 7.2399, 5.0359)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125739 #571230
analogous
#125716 #125739 #125257
triadic
#125739 #391257 #573912
tetradic
#125739 #161257 #571230 #525712
square
#125739 #161257 #571230 #525712
split-complementary
#125739 #571252 #571612
monochromatic
#051911 #082418 #125739 #1C8A5A #27BC7B

Accessibility & contrast

On white

8.58
#125739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#125739 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125739
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125739#FFFFFF#000000##FFFFFF
##1257391.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565037
Deuteranopia (green-blind)
#4D4A3B
Tritanopia (blue-blind)
#00574F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #125739;
/* rgb */ color: rgb(18, 87, 57);
/* oklch */ color: oklch(40.7% 0.084 159.6);
Tailwind
colors: {
  custom: {
    50: '#5c876f',
    500: '#125739',
    950: '#000000',
  },
}
SCSS
$custom: #125739;
$custom-light: #5c876f;
$custom-dark: #000000;
JSON
{
  "hex": "#125739",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 57
  },
  "hsl": {
    "h": 153.913,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40678,
    "c": 0.08389,
    "h": 159.6
  },
  "luminance": 0.0724
}

Semantic roles & 50–950 ramp

primary
#125739
secondary
#90355C
accent
#3F89E9
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #125739

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

Preview Lab → · Contrast checker → · Palette generator →

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