#125762#125762

#125762 is a dark, moderate teal. Relative luminance 0.078; OKLCH L 42.1% C 0.067 H 210.9°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#125762
RGBrgb(18, 87, 98)
HSLhsl(188, 69%, 23%)
HSVhsv(188, 82%, 38%)
CMYKcmyk(81.6%, 11.2%, 0%, 61.6%)
CIE-LABlab(33.62, -16.33, -12.31)
CIE-LCHlch(33.62, 20.45, 217.01°)
OKLaboklab(42.14% -0.0572 -0.0343)
OKLCHoklch(42.14% 0.067 210.9)
XYZxyz(5.8613, 7.8261, 12.7546)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125762 #621D12
analogous
#126245 #125762 #122F62
triadic
#125762 #621257 #576212
tetradic
#125762 #451262 #621D12 #2F6212
square
#125762 #451262 #621D12 #2F6212
split-complementary
#125762 #62122F #624512
monochromatic
#05171A #09292E #125762 #1B8596 #25B3C9

Accessibility & contrast

On white

8.19
#125762 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#125762 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125762
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125762#FFFFFF#000000##FFFFFF
##1257621.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5463
Deuteranopia (green-blind)
#434C62
Tritanopia (blue-blind)
#005C5A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125762;
/* rgb */ color: rgb(18, 87, 98);
/* oklch */ color: oklch(42.1% 0.067 210.9);
Tailwind
colors: {
  custom: {
    50: '#5f868e',
    500: '#125762',
    950: '#000000',
  },
}
SCSS
$custom: #125762;
$custom-light: #5f868e;
$custom-dark: #000000;
JSON
{
  "hex": "#125762",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 98
  },
  "hsl": {
    "h": 188.25,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42135,
    "c": 0.06673,
    "h": 210.9
  },
  "luminance": 0.07827
}

Semantic roles & 50–950 ramp

primary
#125762
secondary
#9A4436
accent
#543CEC
background
#F6F8F8
surface
#EBEFF0
border
#C6CACB
text
#050B0C
muted
#7A7C7D

Preview Lab

Preview with #125762

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

Preview Lab → · Contrast checker → · Palette generator →

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