#125956#125956

#125956 is a dark, moderate teal. Relative luminance 0.079; OKLCH L 42.2% C 0.067 H 190.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#125956
RGBrgb(18, 89, 86)
HSLhsl(177, 66%, 21%)
HSVhsv(177, 80%, 35%)
CMYKcmyk(79.8%, 0%, 3.4%, 65.1%)
CIE-LABlab(33.87, -21.54, -4.39)
CIE-LCHlch(33.87, 21.98, 191.53°)
OKLaboklab(42.19% -0.0653 -0.0123)
OKLCHoklch(42.19% 0.067 190.7)
XYZxyz(5.5008, 7.9446, 10.0458)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125956 #591215
analogous
#125932 #125956 #123859
triadic
#125956 #561259 #595612
tetradic
#125956 #321259 #591215 #385912
square
#125956 #321259 #591215 #385912
split-complementary
#125956 #591238 #593212
monochromatic
#051919 #082625 #125956 #1C8C87 #27BFB8

Accessibility & contrast

On white

8.11
#125956 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#125956 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125956
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125956#FFFFFF#000000##FFFFFF
##1259561.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535456
Deuteranopia (green-blind)
#494D57
Tritanopia (blue-blind)
#005C58
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125956;
/* rgb */ color: rgb(18, 89, 86);
/* oklch */ color: oklch(42.2% 0.067 190.7);
Tailwind
colors: {
  custom: {
    50: '#5e8885',
    500: '#125956',
    950: '#000000',
  },
}
SCSS
$custom: #125956;
$custom-light: #5e8885;
$custom-dark: #000000;
JSON
{
  "hex": "#125956",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 86
  },
  "hsl": {
    "h": 177.465,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.4219,
    "c": 0.0665,
    "h": 190.7
  },
  "luminance": 0.07945
}

Semantic roles & 50–950 ramp

primary
#125956
secondary
#923539
accent
#3F46E9
background
#F5F8F8
surface
#EAF0EF
border
#C6CBCA
text
#050B0B
muted
#797C7C

Preview Lab

Preview with #125956

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

Preview Lab → · Contrast checker → · Palette generator →

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