#125852#125852

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

Color values

HEX#125852
RGBrgb(18, 88, 82)
HSLhsl(175, 66%, 21%)
HSVhsv(175, 80%, 35%)
CMYKcmyk(79.5%, 0%, 6.8%, 65.5%)
CIE-LABlab(33.39, -22.31, -2.59)
CIE-LCHlch(33.39, 22.46, 186.63°)
OKLaboklab(41.75% -0.0663 -0.0074)
OKLCHoklch(41.75% 0.067 186.3)
XYZxyz(5.2614, 7.7166, 9.1932)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125852 #581218
analogous
#12582F #125852 #123B58
triadic
#125852 #521258 #585212
tetradic
#125852 #2F1258 #581218 #3B5812
square
#125852 #2F1258 #581218 #3B5812
split-complementary
#125852 #58123B #582F12
monochromatic
#051918 #082523 #125852 #1C8B81 #27BEB1

Accessibility & contrast

On white

8.26
#125852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125852
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125852#FFFFFF#000000##FFFFFF
##1258521.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125852;
/* rgb */ color: rgb(18, 88, 82);
/* oklch */ color: oklch(41.8% 0.067 186.3);
Tailwind
colors: {
  custom: {
    50: '#5d8782',
    500: '#125852',
    950: '#000000',
  },
}
SCSS
$custom: #125852;
$custom-light: #5d8782;
$custom-dark: #000000;
JSON
{
  "hex": "#125852",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 82
  },
  "hsl": {
    "h": 174.857,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41754,
    "c": 0.06669,
    "h": 186.3
  },
  "luminance": 0.07717
}

Semantic roles & 50–950 ramp

primary
#125852
secondary
#91353D
accent
#3F4DE9
background
#F5F8F7
surface
#EAEFEE
border
#C6CAC9
text
#050B0A
muted
#797C7C

Preview Lab

Preview with #125852

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

Preview Lab → · Contrast checker → · Palette generator →

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