#125256#125256

#125256 is a dark, moderate teal. Relative luminance 0.068; OKLCH L 40.2% C 0.062 H 201.3°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#125256
RGBrgb(18, 82, 86)
HSLhsl(184, 65%, 20%)
HSVhsv(184, 79%, 34%)
CMYKcmyk(79.1%, 4.7%, 0%, 66.3%)
CIE-LABlab(31.43, -17.76, -8.04)
CIE-LCHlch(31.43, 19.50, 204.37°)
OKLaboklab(40.21% -0.0574 -0.0223)
OKLCHoklch(40.21% 0.062 201.3)
XYZxyz(4.9457, 6.8345, 9.8608)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125256 #561612
analogous
#125638 #125256 #123056
triadic
#125256 #561252 #525612
tetradic
#125256 #381256 #561612 #305612
square
#125256 #381256 #561612 #305612
split-complementary
#125256 #561230 #563812
monochromatic
#051819 #072223 #125256 #1D8289 #27B3BB

Accessibility & contrast

On white

8.87
#125256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#125256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125256
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125256#FFFFFF#000000##FFFFFF
##1252561.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4E56
Deuteranopia (green-blind)
#414756
Tritanopia (blue-blind)
#005553
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #125256;
/* rgb */ color: rgb(18, 82, 86);
/* oklch */ color: oklch(40.2% 0.062 201.3);
Tailwind
colors: {
  custom: {
    50: '#5d8385',
    500: '#125256',
    950: '#000000',
  },
}
SCSS
$custom: #125256;
$custom-light: #5d8385;
$custom-dark: #000000;
JSON
{
  "hex": "#125256",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 86
  },
  "hsl": {
    "h": 183.529,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.4021,
    "c": 0.06159,
    "h": 201.3
  },
  "luminance": 0.06835
}

Semantic roles & 50–950 ramp

primary
#125256
secondary
#8F3A35
accent
#493FE8
background
#F5F8F8
surface
#E9EFEF
border
#C5CACA
text
#050A0B
muted
#797C7C

Preview Lab

Preview with #125256

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

Preview Lab → · Contrast checker → · Palette generator →

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