#125741#125741

#125741 is a dark, moderate teal. Relative luminance 0.073; OKLCH L 40.9% C 0.076 H 166.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#125741
RGBrgb(18, 87, 65)
HSLhsl(161, 66%, 21%)
HSVhsv(161, 79%, 34%)
CMYKcmyk(79.3%, 0%, 25.3%, 65.9%)
CIE-LABlab(32.54, -26.85, 6.86)
CIE-LCHlch(32.54, 27.72, 165.67°)
OKLaboklab(40.9% -0.0742 0.0175)
OKLCHoklch(40.9% 0.076 166.7)
XYZxyz(4.6113, 7.3261, 6.1711)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125741 #571228
analogous
#12571F #125741 #124A57
triadic
#125741 #411257 #574112
tetradic
#125741 #1F1257 #571228 #4A5712
square
#125741 #1F1257 #571228 #4A5712
split-complementary
#125741 #57124A #571F12
monochromatic
#051913 #08241B #125741 #1C8A67 #27BC8D

Accessibility & contrast

On white

8.52
#125741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125741
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125741#FFFFFF#000000##FFFFFF
##1257411.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555040
Deuteranopia (green-blind)
#4C4A42
Tritanopia (blue-blind)
#005751
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125741;
/* rgb */ color: rgb(18, 87, 65);
/* oklch */ color: oklch(40.9% 0.076 166.7);
Tailwind
colors: {
  custom: {
    50: '#5c8775',
    500: '#125741',
    950: '#000000',
  },
}
SCSS
$custom: #125741;
$custom-light: #5c8775;
$custom-dark: #000000;
JSON
{
  "hex": "#125741",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 65
  },
  "hsl": {
    "h": 160.87,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40898,
    "c": 0.07629,
    "h": 166.7
  },
  "luminance": 0.07327
}

Semantic roles & 50–950 ramp

primary
#125741
secondary
#903552
accent
#3F75E9
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#050B08
muted
#797C7B

Preview Lab

Preview with #125741

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

Preview Lab → · Contrast checker → · Palette generator →

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