#125843#125843

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

Color values

HEX#125843
RGBrgb(18, 88, 67)
HSLhsl(162, 66%, 21%)
HSVhsv(162, 80%, 35%)
CMYKcmyk(79.5%, 0%, 23.9%, 65.5%)
CIE-LABlab(32.95, -26.78, 6.19)
CIE-LCHlch(32.95, 27.49, 166.99°)
OKLaboklab(41.25% -0.0743 0.0158)
OKLCHoklch(41.25% 0.076 168)
XYZxyz(4.7517, 7.5127, 6.5088)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125843 #581227
analogous
#125820 #125843 #124A58
triadic
#125843 #431258 #584312
tetradic
#125843 #201258 #581227 #4A5812
square
#125843 #201258 #581227 #4A5812
split-complementary
#125843 #58124A #582012
monochromatic
#051913 #08251C #125843 #1C8B6A #27BE90

Accessibility & contrast

On white

8.39
#125843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#125843 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125843
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125843#FFFFFF#000000##FFFFFF
##1258431.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565142
Deuteranopia (green-blind)
#4D4B44
Tritanopia (blue-blind)
#005852
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125843;
/* rgb */ color: rgb(18, 88, 67);
/* oklch */ color: oklch(41.3% 0.076 168.0);
Tailwind
colors: {
  custom: {
    50: '#5c8877',
    500: '#125843',
    950: '#000000',
  },
}
SCSS
$custom: #125843;
$custom-light: #5c8877;
$custom-dark: #000000;
JSON
{
  "hex": "#125843",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 67
  },
  "hsl": {
    "h": 162,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4125,
    "c": 0.07598,
    "h": 168
  },
  "luminance": 0.07513
}

Semantic roles & 50–950 ramp

primary
#125843
secondary
#913551
accent
#3F72E9
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#050B08
muted
#797C7B

Preview Lab

Preview with #125843

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

Preview Lab → · Contrast checker → · Palette generator →

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