#124840#124840

#124840 is a dark, muted teal. Relative luminance 0.051; OKLCH L 36.5% C 0.057 H 181.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#124840
RGBrgb(18, 72, 64)
HSLhsl(171, 60%, 18%)
HSVhsv(171, 75%, 28%)
CMYKcmyk(75%, 0%, 11.1%, 71.8%)
CIE-LABlab(27.11, -19.61, -0.30)
CIE-LCHlch(27.11, 19.61, 180.87°)
OKLaboklab(36.45% -0.057 -0.0011)
OKLCHoklch(36.45% 0.057 181.1)
XYZxyz(3.4918, 5.1331, 5.6563)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124840 #48121A
analogous
#124825 #124840 #123548
triadic
#124840 #401248 #484012
tetradic
#124840 #251248 #48121A #354812
square
#124840 #251248 #48121A #354812
split-complementary
#124840 #481235 #482512
monochromatic
#061816 #061816 #124840 #1E796C #2AAA97

Accessibility & contrast

On white

10.36
#124840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#124840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124840
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124840#FFFFFF#000000##FFFFFF
##1248401.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444340
Deuteranopia (green-blind)
#3D3E41
Tritanopia (blue-blind)
#004946
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124840;
/* rgb */ color: rgb(18, 72, 64);
/* oklch */ color: oklch(36.5% 0.057 181.1);
Tailwind
colors: {
  custom: {
    50: '#597b74',
    500: '#124840',
    950: '#000000',
  },
}
SCSS
$custom: #124840;
$custom-light: #597b74;
$custom-dark: #000000;
JSON
{
  "hex": "#124840",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 64
  },
  "hsl": {
    "h": 171.111,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36451,
    "c": 0.05702,
    "h": 181.1
  },
  "luminance": 0.05133
}

Semantic roles & 50–950 ramp

primary
#124840
secondary
#813540
accent
#455CE3
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040908
muted
#797B7B

Preview Lab

Preview with #124840

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

Preview Lab → · Contrast checker → · Palette generator →

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