#125142#125142

#125142 is a dark, moderate teal. Relative luminance 0.064; OKLCH L 39.2% C 0.067 H 173.1°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#125142
RGBrgb(18, 81, 66)
HSLhsl(166, 64%, 19%)
HSVhsv(166, 78%, 32%)
CMYKcmyk(77.8%, 0%, 18.5%, 68.2%)
CIE-LABlab(30.42, -23.65, 3.21)
CIE-LCHlch(30.42, 23.87, 172.28°)
OKLaboklab(39.17% -0.0667 0.0081)
OKLCHoklch(39.17% 0.067 173.1)
XYZxyz(4.1747, 6.4063, 6.1697)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125142 #511221
analogous
#125123 #125142 #124151
triadic
#125142 #421251 #514212
tetradic
#125142 #231251 #511221 #415112
square
#125142 #231251 #511221 #415112
split-complementary
#125142 #511241 #512312
monochromatic
#061914 #071F19 #125142 #1D836B #28B594

Accessibility & contrast

On white

9.20
#125142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#125142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125142
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125142#FFFFFF#000000##FFFFFF
##1251421.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4B41
Deuteranopia (green-blind)
#464543
Tritanopia (blue-blind)
#00524D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #125142;
/* rgb */ color: rgb(18, 81, 66);
/* oklch */ color: oklch(39.2% 0.067 173.1);
Tailwind
colors: {
  custom: {
    50: '#5b8276',
    500: '#125142',
    950: '#000000',
  },
}
SCSS
$custom: #125142;
$custom-light: #5b8276;
$custom-dark: #000000;
JSON
{
  "hex": "#125142",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 66
  },
  "hsl": {
    "h": 165.714,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39168,
    "c": 0.06721,
    "h": 173.1
  },
  "luminance": 0.06407
}

Semantic roles & 50–950 ramp

primary
#125142
secondary
#8A3549
accent
#4169E7
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #125142

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

Preview Lab → · Contrast checker → · Palette generator →

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