#125962#125962

#125962 is a dark, moderate teal. Relative luminance 0.082; OKLCH L 42.7% C 0.067 H 207.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#125962
RGBrgb(18, 89, 98)
HSLhsl(187, 69%, 23%)
HSVhsv(187, 82%, 38%)
CMYKcmyk(81.6%, 9.2%, 0%, 61.6%)
CIE-LABlab(34.30, -17.45, -11.27)
CIE-LCHlch(34.30, 20.78, 212.85°)
OKLaboklab(42.69% -0.0594 -0.0314)
OKLCHoklch(42.69% 0.067 207.8)
XYZxyz(6.0255, 8.1545, 12.8093)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125962 #621B12
analogous
#126243 #125962 #123162
triadic
#125962 #621259 #596212
tetradic
#125962 #431262 #621B12 #316212
square
#125962 #431262 #621B12 #316212
split-complementary
#125962 #621231 #624312
monochromatic
#05171A #092A2E #125962 #1B8896 #25B7C9

Accessibility & contrast

On white

7.98
#125962 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#125962 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125962
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125962#FFFFFF#000000##FFFFFF
##1259621.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505563
Deuteranopia (green-blind)
#454D62
Tritanopia (blue-blind)
#005D5C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125962;
/* rgb */ color: rgb(18, 89, 98);
/* oklch */ color: oklch(42.7% 0.067 207.8);
Tailwind
colors: {
  custom: {
    50: '#60888e',
    500: '#125962',
    950: '#000000',
  },
}
SCSS
$custom: #125962;
$custom-light: #60888e;
$custom-dark: #000000;
JSON
{
  "hex": "#125962",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 98
  },
  "hsl": {
    "h": 186.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42688,
    "c": 0.06721,
    "h": 207.8
  },
  "luminance": 0.08155
}

Semantic roles & 50–950 ramp

primary
#125962
secondary
#9A4136
accent
#503CEC
background
#F6F8F8
surface
#EBEFF0
border
#C6CACB
text
#050B0C
muted
#7A7C7D

Preview Lab

Preview with #125962

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

Preview Lab → · Contrast checker → · Palette generator →

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