#185040#185040

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

Color values

HEX#185040
RGBrgb(24, 80, 64)
HSLhsl(163, 54%, 20%)
HSVhsv(163, 70%, 31%)
CMYKcmyk(70%, 0%, 20%, 68.6%)
CIE-LABlab(30.16, -22.61, 4.14)
CIE-LCHlch(30.16, 22.99, 169.64°)
OKLaboklab(38.99% -0.0635 0.0106)
OKLCHoklch(38.99% 0.064 170.6)
XYZxyz(4.1703, 6.3012, 5.8460)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185040 #501828
analogous
#185024 #185040 #184450
triadic
#185040 #401850 #504018
tetradic
#185040 #241850 #501828 #445018
square
#185040 #241850 #501828 #445018
split-complementary
#185040 #501844 #502418
monochromatic
#071813 #0A211A #185040 #267F66 #34AE8B

Accessibility & contrast

On white

9.29
#185040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#185040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185040
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185040#FFFFFF#000000##FFFFFF
##1850401.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #185040;
/* rgb */ color: rgb(24, 80, 64);
/* oklch */ color: oklch(39.0% 0.064 170.6);
Tailwind
colors: {
  custom: {
    50: '#5d8174',
    500: '#185040',
    950: '#000000',
  },
}
SCSS
$custom: #185040;
$custom-light: #5d8174;
$custom-dark: #000000;
JSON
{
  "hex": "#185040",
  "rgb": {
    "r": 24,
    "g": 80,
    "b": 64
  },
  "hsl": {
    "h": 162.857,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38986,
    "c": 0.06433,
    "h": 170.6
  },
  "luminance": 0.06302
}

Semantic roles & 50–950 ramp

primary
#185040
secondary
#873D52
accent
#4B74DD
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #185040

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

Preview Lab → · Contrast checker → · Palette generator →

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