#124040#124040

#124040 is a dark, muted teal. Relative luminance 0.042; OKLCH L 34.1% C 0.049 H 195.1°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#124040
RGBrgb(18, 64, 64)
HSLhsl(180, 56%, 16%)
HSVhsv(180, 72%, 25%)
CMYKcmyk(71.9%, 0%, 0%, 74.9%)
CIE-LABlab(24.21, -15.17, -4.58)
CIE-LCHlch(24.21, 15.84, 196.81°)
OKLaboklab(34.1% -0.0471 -0.0127)
OKLCHoklch(34.1% 0.049 195.1)
XYZxyz(3.0079, 4.1652, 5.4949)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124040 #401212
analogous
#124029 #124040 #122940
triadic
#124040 #401240 #404012
tetradic
#124040 #291240 #401212 #294012
square
#124040 #291240 #401212 #294012
split-complementary
#124040 #401229 #402912
monochromatic
#071818 #071818 #124040 #1F7070 #2DA0A0

Accessibility & contrast

On white

11.46
#124040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#124040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124040
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124040#FFFFFF#000000##FFFFFF
##1240401.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3D40
Deuteranopia (green-blind)
#343740
Tritanopia (blue-blind)
#004240
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #124040;
/* rgb */ color: rgb(18, 64, 64);
/* oklch */ color: oklch(34.1% 0.049 195.1);
Tailwind
colors: {
  custom: {
    50: '#577574',
    500: '#124040',
    950: '#000000',
  },
}
SCSS
$custom: #124040;
$custom-light: #577574;
$custom-dark: #000000;
JSON
{
  "hex": "#124040",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 180,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34095,
    "c": 0.04878,
    "h": 195.1
  },
  "luminance": 0.04166
}

Semantic roles & 50–950 ramp

primary
#124040
secondary
#793535
accent
#4848DF
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#030808
muted
#787B7B

Preview Lab

Preview with #124040

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

Preview Lab → · Contrast checker → · Palette generator →

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