#125851#125851

#125851 is a dark, moderate teal. Relative luminance 0.077; OKLCH L 41.7% C 0.067 H 185.0°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#125851
RGBrgb(18, 88, 81)
HSLhsl(174, 66%, 21%)
HSVhsv(174, 80%, 35%)
CMYKcmyk(79.5%, 0%, 8%, 65.5%)
CIE-LABlab(33.35, -22.63, -2.01)
CIE-LCHlch(33.35, 22.72, 185.08°)
OKLaboklab(41.72% -0.0668 -0.0058)
OKLCHoklch(41.72% 0.067 185)
XYZxyz(5.2237, 7.7015, 8.9942)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125851 #581219
analogous
#12582E #125851 #123C58
triadic
#125851 #511258 #585112
tetradic
#125851 #2E1258 #581219 #3C5812
square
#125851 #2E1258 #581219 #3C5812
split-complementary
#125851 #58123C #582E12
monochromatic
#051917 #082522 #125851 #1C8B80 #27BEAF

Accessibility & contrast

On white

8.27
#125851 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#125851 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125851
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125851#FFFFFF#000000##FFFFFF
##1258511.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535351
Deuteranopia (green-blind)
#494B52
Tritanopia (blue-blind)
#005A56
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125851;
/* rgb */ color: rgb(18, 88, 81);
/* oklch */ color: oklch(41.7% 0.067 185.0);
Tailwind
colors: {
  custom: {
    50: '#5d8781',
    500: '#125851',
    950: '#000000',
  },
}
SCSS
$custom: #125851;
$custom-light: #5d8781;
$custom-dark: #000000;
JSON
{
  "hex": "#125851",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 81
  },
  "hsl": {
    "h": 174,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41717,
    "c": 0.06705,
    "h": 185
  },
  "luminance": 0.07702
}

Semantic roles & 50–950 ramp

primary
#125851
secondary
#91353E
accent
#3F50E9
background
#F5F8F7
surface
#EAEFEE
border
#C6CAC9
text
#050B0A
muted
#797C7C

Preview Lab

Preview with #125851

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

Preview Lab → · Contrast checker → · Palette generator →

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