#125040#125040

#125040 is a dark, moderate teal. Relative luminance 0.062; OKLCH L 38.8% C 0.067 H 171.6°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#125040
RGBrgb(18, 80, 64)
HSLhsl(165, 63%, 19%)
HSVhsv(165, 78%, 31%)
CMYKcmyk(77.5%, 0%, 20%, 68.6%)
CIE-LABlab(30.00, -23.73, 3.88)
CIE-LCHlch(30.00, 24.05, 170.71°)
OKLaboklab(38.81% -0.0666 0.0099)
OKLCHoklch(38.81% 0.067 171.6)
XYZxyz(4.0431, 6.2356, 5.8400)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125040 #501222
analogous
#125021 #125040 #124150
triadic
#125040 #401250 #504012
tetradic
#125040 #211250 #501222 #415012
square
#125040 #211250 #501222 #415012
split-complementary
#125040 #501241 #502112
monochromatic
#061914 #071E18 #125040 #1D8268 #28B490

Accessibility & contrast

On white

9.34
#125040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#125040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125040
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125040#FFFFFF#000000##FFFFFF
##1250401.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4A3F
Deuteranopia (green-blind)
#454441
Tritanopia (blue-blind)
#00514B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #125040;
/* rgb */ color: rgb(18, 80, 64);
/* oklch */ color: oklch(38.8% 0.067 171.6);
Tailwind
colors: {
  custom: {
    50: '#5a8174',
    500: '#125040',
    950: '#000000',
  },
}
SCSS
$custom: #125040;
$custom-light: #5a8174;
$custom-dark: #000000;
JSON
{
  "hex": "#125040",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 64
  },
  "hsl": {
    "h": 164.516,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38809,
    "c": 0.06736,
    "h": 171.6
  },
  "luminance": 0.06236
}

Semantic roles & 50–950 ramp

primary
#125040
secondary
#89354B
accent
#416CE6
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #125040

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

Preview Lab → · Contrast checker → · Palette generator →

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