#125641#125641

#125641 is a dark, moderate teal. Relative luminance 0.072; OKLCH L 40.6% C 0.075 H 167.5°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#125641
RGBrgb(18, 86, 65)
HSLhsl(161, 65%, 20%)
HSVhsv(161, 79%, 34%)
CMYKcmyk(79.1%, 0%, 24.4%, 66.3%)
CIE-LABlab(32.18, -26.38, 6.36)
CIE-LCHlch(32.18, 27.13, 166.45°)
OKLaboklab(40.61% -0.0731 0.0163)
OKLCHoklch(40.61% 0.075 167.5)
XYZxyz(4.5309, 7.1653, 6.1443)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125641 #561227
analogous
#12561F #125641 #124956
triadic
#125641 #411256 #564112
tetradic
#125641 #1F1256 #561227 #495612
square
#125641 #1F1256 #561227 #495612
split-complementary
#125641 #561249 #561F12
monochromatic
#051913 #07231B #125641 #1D8967 #27BB8E

Accessibility & contrast

On white

8.63
#125641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#125641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125641
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125641#FFFFFF#000000##FFFFFF
##1256411.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544F40
Deuteranopia (green-blind)
#4B4942
Tritanopia (blue-blind)
#005650
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #125641;
/* rgb */ color: rgb(18, 86, 65);
/* oklch */ color: oklch(40.6% 0.075 167.5);
Tailwind
colors: {
  custom: {
    50: '#5c8675',
    500: '#125641',
    950: '#000000',
  },
}
SCSS
$custom: #125641;
$custom-light: #5c8675;
$custom-dark: #000000;
JSON
{
  "hex": "#125641",
  "rgb": {
    "r": 18,
    "g": 86,
    "b": 65
  },
  "hsl": {
    "h": 161.471,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40605,
    "c": 0.07488,
    "h": 167.5
  },
  "luminance": 0.07166
}

Semantic roles & 50–950 ramp

primary
#125641
secondary
#8F3551
accent
#3F74E8
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #125641

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

Preview Lab → · Contrast checker → · Palette generator →

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