#125451#125451

#125451 is a dark, moderate teal. Relative luminance 0.071; OKLCH L 40.6% C 0.063 H 190.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#125451
RGBrgb(18, 84, 81)
HSLhsl(177, 65%, 20%)
HSVhsv(177, 79%, 33%)
CMYKcmyk(78.6%, 0%, 3.6%, 67.1%)
CIE-LABlab(31.95, -20.53, -4.09)
CIE-LCHlch(31.95, 20.94, 191.26°)
OKLaboklab(40.57% -0.0622 -0.0114)
OKLCHoklch(40.57% 0.063 190.4)
XYZxyz(4.9043, 7.0627, 8.8878)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125451 #541215
analogous
#125430 #125451 #123654
triadic
#125451 #511254 #545112
tetradic
#125451 #301254 #541215 #365412
square
#125451 #301254 #541215 #365412
split-complementary
#125451 #541236 #543012
monochromatic
#051918 #072220 #125451 #1D8682 #28B9B2

Accessibility & contrast

On white

8.70
#125451 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#125451 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125451
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125451#FFFFFF#000000##FFFFFF
##1254511.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4F51
Deuteranopia (green-blind)
#454852
Tritanopia (blue-blind)
#005753
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #125451;
/* rgb */ color: rgb(18, 84, 81);
/* oklch */ color: oklch(40.6% 0.063 190.4);
Tailwind
colors: {
  custom: {
    50: '#5d8481',
    500: '#125451',
    950: '#000000',
  },
}
SCSS
$custom: #125451;
$custom-light: #5d8481;
$custom-dark: #000000;
JSON
{
  "hex": "#125451",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 81
  },
  "hsl": {
    "h": 177.273,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.40574,
    "c": 0.06326,
    "h": 190.4
  },
  "luminance": 0.07063
}

Semantic roles & 50–950 ramp

primary
#125451
secondary
#8D3539
accent
#4048E8
background
#F5F8F7
surface
#E9EFEE
border
#C5CAC9
text
#050B0A
muted
#797C7C

Preview Lab

Preview with #125451

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

Preview Lab → · Contrast checker → · Palette generator →

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