#125846#125846

#125846 is a dark, moderate teal. Relative luminance 0.075; OKLCH L 41.3% C 0.074 H 171.2°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#125846
RGBrgb(18, 88, 70)
HSLhsl(165, 66%, 21%)
HSVhsv(165, 80%, 35%)
CMYKcmyk(79.5%, 0%, 20.5%, 65.5%)
CIE-LABlab(33.03, -25.94, 4.43)
CIE-LCHlch(33.03, 26.32, 170.32°)
OKLaboklab(41.34% -0.0727 0.0113)
OKLCHoklch(41.34% 0.074 171.2)
XYZxyz(4.8441, 7.5497, 6.9951)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125846 #581224
analogous
#125823 #125846 #124758
triadic
#125846 #461258 #584612
tetradic
#125846 #231258 #581224 #475812
square
#125846 #231258 #581224 #475812
split-complementary
#125846 #581247 #582312
monochromatic
#051914 #08251E #125846 #1C8B6E #27BE97

Accessibility & contrast

On white

8.37
#125846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#125846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125846
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125846#FFFFFF#000000##FFFFFF
##1258461.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555245
Deuteranopia (green-blind)
#4C4B47
Tritanopia (blue-blind)
#005953
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125846;
/* rgb */ color: rgb(18, 88, 70);
/* oklch */ color: oklch(41.3% 0.074 171.2);
Tailwind
colors: {
  custom: {
    50: '#5d8879',
    500: '#125846',
    950: '#000000',
  },
}
SCSS
$custom: #125846;
$custom-light: #5d8879;
$custom-dark: #000000;
JSON
{
  "hex": "#125846",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 70
  },
  "hsl": {
    "h": 164.571,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41342,
    "c": 0.07355,
    "h": 171.2
  },
  "luminance": 0.0755
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #125846

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

Preview Lab → · Contrast checker → · Palette generator →

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