#125844#125844

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

Color values

HEX#125844
RGBrgb(18, 88, 68)
HSLhsl(163, 66%, 21%)
HSVhsv(163, 80%, 35%)
CMYKcmyk(79.5%, 0%, 22.7%, 65.5%)
CIE-LABlab(32.97, -26.51, 5.60)
CIE-LCHlch(32.97, 27.09, 168.06°)
OKLaboklab(41.28% -0.0738 0.0143)
OKLCHoklch(41.28% 0.075 169)
XYZxyz(4.7820, 7.5248, 6.6681)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125844 #581226
analogous
#125821 #125844 #124958
triadic
#125844 #441258 #584412
tetradic
#125844 #211258 #581226 #495812
square
#125844 #211258 #581226 #495812
split-complementary
#125844 #581249 #582112
monochromatic
#051914 #08251D #125844 #1C8B6B #27BE93

Accessibility & contrast

On white

8.38
#125844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125844
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125844#FFFFFF#000000##FFFFFF
##1258441.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555143
Deuteranopia (green-blind)
#4C4B45
Tritanopia (blue-blind)
#005952
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125844;
/* rgb */ color: rgb(18, 88, 68);
/* oklch */ color: oklch(41.3% 0.075 169.0);
Tailwind
colors: {
  custom: {
    50: '#5c8877',
    500: '#125844',
    950: '#000000',
  },
}
SCSS
$custom: #125844;
$custom-light: #5c8877;
$custom-dark: #000000;
JSON
{
  "hex": "#125844",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 68
  },
  "hsl": {
    "h": 162.857,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4128,
    "c": 0.07515,
    "h": 169
  },
  "luminance": 0.07525
}

Semantic roles & 50–950 ramp

primary
#125844
secondary
#91354F
accent
#3F6FE9
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#050B08
muted
#797C7B

Preview Lab

Preview with #125844

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

Preview Lab → · Contrast checker → · Palette generator →

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