#125745#125745

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

Color values

HEX#125745
RGBrgb(18, 87, 69)
HSLhsl(164, 66%, 21%)
HSVhsv(164, 79%, 34%)
CMYKcmyk(79.3%, 0%, 20.7%, 65.9%)
CIE-LABlab(32.64, -25.74, 4.51)
CIE-LCHlch(32.64, 26.13, 170.07°)
OKLaboklab(41.02% -0.0721 0.0115)
OKLCHoklch(41.02% 0.073 170.9)
XYZxyz(4.7313, 7.3741, 6.8031)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125745 #571224
analogous
#125722 #125745 #124657
triadic
#125745 #451257 #574512
tetradic
#125745 #221257 #571224 #465712
square
#125745 #221257 #571224 #465712
split-complementary
#125745 #571246 #572212
monochromatic
#051914 #08241D #125745 #1C8A6D #27BC95

Accessibility & contrast

On white

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

On black

2.47
#125745 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##125745#FFFFFF#000000##FFFFFF
##1257451.008.482.478.48
#FFFFFF8.481.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125745;
/* rgb */ color: rgb(18, 87, 69);
/* oklch */ color: oklch(41.0% 0.073 170.9);
Tailwind
colors: {
  custom: {
    50: '#5c8778',
    500: '#125745',
    950: '#000000',
  },
}
SCSS
$custom: #125745;
$custom-light: #5c8778;
$custom-dark: #000000;
JSON
{
  "hex": "#125745",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 69
  },
  "hsl": {
    "h": 164.348,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.4102,
    "c": 0.07298,
    "h": 170.9
  },
  "luminance": 0.07375
}

Semantic roles & 50–950 ramp

primary
#125745
secondary
#90354D
accent
#3F6BE9
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#050B09
muted
#797C7B

Preview Lab

Preview with #125745

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

Preview Lab → · Contrast checker → · Palette generator →

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