#125140#125140

#125140 is a dark, moderate teal. Relative luminance 0.064; OKLCH L 39.1% C 0.069 H 170.6°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#125140
RGBrgb(18, 81, 64)
HSLhsl(164, 64%, 19%)
HSVhsv(164, 78%, 32%)
CMYKcmyk(77.8%, 0%, 21%, 68.2%)
CIE-LABlab(30.36, -24.23, 4.40)
CIE-LCHlch(30.36, 24.63, 169.71°)
OKLaboklab(39.1% -0.0678 0.0112)
OKLCHoklch(39.1% 0.069 170.6)
XYZxyz(4.1168, 6.3831, 5.8646)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125140 #511223
analogous
#125121 #125140 #124351
triadic
#125140 #401251 #514012
tetradic
#125140 #211251 #511223 #435112
square
#125140 #211251 #511223 #435112
split-complementary
#125140 #511243 #512112
monochromatic
#061914 #071F18 #125140 #1D8368 #28B58F

Accessibility & contrast

On white

9.22
#125140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125140
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125140#FFFFFF#000000##FFFFFF
##1251401.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4B3F
Deuteranopia (green-blind)
#464541
Tritanopia (blue-blind)
#00524C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #125140;
/* rgb */ color: rgb(18, 81, 64);
/* oklch */ color: oklch(39.1% 0.069 170.6);
Tailwind
colors: {
  custom: {
    50: '#5b8274',
    500: '#125140',
    950: '#000000',
  },
}
SCSS
$custom: #125140;
$custom-light: #5b8274;
$custom-dark: #000000;
JSON
{
  "hex": "#125140",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 64
  },
  "hsl": {
    "h": 163.81,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39104,
    "c": 0.06873,
    "h": 170.6
  },
  "luminance": 0.06384
}

Semantic roles & 50–950 ramp

primary
#125140
secondary
#8A354C
accent
#416EE7
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #125140

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

Preview Lab → · Contrast checker → · Palette generator →

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