#185C42#185C42

#185C42 is a dark, moderate teal. Relative luminance 0.082; OKLCH L 42.5% C 0.080 H 163.4°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#185C42
RGBrgb(24, 92, 66)
HSLhsl(157, 59%, 23%)
HSVhsv(157, 74%, 36%)
CMYKcmyk(73.9%, 0%, 28.3%, 63.9%)
CIE-LABlab(34.48, -27.94, 8.99)
CIE-LCHlch(34.48, 29.35, 162.17°)
OKLaboklab(42.54% -0.0767 0.0229)
OKLCHoklch(42.54% 0.08 163.4)
XYZxyz(5.1867, 8.2412, 6.4706)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185C42 #5C1832
analogous
#185C20 #185C42 #18545C
triadic
#185C42 #42185C #5C4218
tetradic
#185C42 #20185C #5C1832 #545C18
square
#185C42 #20185C #5C1832 #545C18
split-complementary
#185C42 #5C1854 #5C2018
monochromatic
#061811 #0B2B1F #185C42 #258D65 #31BD88

Accessibility & contrast

On white

7.93
#185C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#185C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185C42
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185C42#FFFFFF#000000##FFFFFF
##185C421.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5541
Deuteranopia (green-blind)
#514E44
Tritanopia (blue-blind)
#005C55
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #185c42;
/* rgb */ color: rgb(24, 92, 66);
/* oklch */ color: oklch(42.5% 0.080 163.4);
Tailwind
colors: {
  custom: {
    50: '#5f8b76',
    500: '#185c42',
    950: '#000000',
  },
}
SCSS
$custom: #185c42;
$custom-light: #5f8b76;
$custom-dark: #000000;
JSON
{
  "hex": "#185c42",
  "rgb": {
    "r": 24,
    "g": 92,
    "b": 66
  },
  "hsl": {
    "h": 157.059,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42539,
    "c": 0.08007,
    "h": 163.4
  },
  "luminance": 0.08242
}

Semantic roles & 50–950 ramp

primary
#185C42
secondary
#933D5E
accent
#4682E2
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #185C42

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

Preview Lab → · Contrast checker → · Palette generator →

#185C42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva