#125645#125645

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

Color values

HEX#125645
RGBrgb(18, 86, 69)
HSLhsl(165, 65%, 20%)
HSVhsv(165, 79%, 34%)
CMYKcmyk(79.1%, 0%, 19.8%, 66.3%)
CIE-LABlab(32.29, -25.25, 4.00)
CIE-LCHlch(32.29, 25.57, 171.01°)
OKLaboklab(40.73% -0.0709 0.0102)
OKLCHoklch(40.73% 0.072 171.8)
XYZxyz(4.6509, 7.2133, 6.7763)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125645 #561223
analogous
#125623 #125645 #124556
triadic
#125645 #451256 #564512
tetradic
#125645 #231256 #561223 #455612
square
#125645 #231256 #561223 #455612
split-complementary
#125645 #561245 #562312
monochromatic
#051914 #07231C #125645 #1D896E #27BB96

Accessibility & contrast

On white

8.60
#125645 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#125645 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125645
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125645#FFFFFF#000000##FFFFFF
##1256451.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535044
Deuteranopia (green-blind)
#4A4946
Tritanopia (blue-blind)
#005751
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #125645;
/* rgb */ color: rgb(18, 86, 69);
/* oklch */ color: oklch(40.7% 0.072 171.8);
Tailwind
colors: {
  custom: {
    50: '#5c8678',
    500: '#125645',
    950: '#000000',
  },
}
SCSS
$custom: #125645;
$custom-light: #5c8678;
$custom-dark: #000000;
JSON
{
  "hex": "#125645",
  "rgb": {
    "r": 18,
    "g": 86,
    "b": 69
  },
  "hsl": {
    "h": 165,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40728,
    "c": 0.07164,
    "h": 171.8
  },
  "luminance": 0.07214
}

Semantic roles & 50–950 ramp

primary
#125645
secondary
#8F354B
accent
#3F6AE8
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#050B09
muted
#797C7B

Preview Lab

Preview with #125645

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

Preview Lab → · Contrast checker → · Palette generator →

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