#185342#185342

#185342 is a dark, moderate teal. Relative luminance 0.068; OKLCH L 39.9% C 0.067 H 170.2°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#185342
RGBrgb(24, 83, 66)
HSLhsl(163, 55%, 21%)
HSVhsv(163, 71%, 33%)
CMYKcmyk(71.1%, 0%, 20.5%, 67.5%)
CIE-LABlab(31.29, -23.57, 4.48)
CIE-LCHlch(31.29, 23.99, 169.25°)
OKLaboklab(39.92% -0.066 0.0114)
OKLCHoklch(39.92% 0.067 170.2)
XYZxyz(4.4528, 6.7736, 6.2260)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185342 #531829
analogous
#185324 #185342 #184653
triadic
#185342 #421853 #534218
tetradic
#185342 #241853 #531829 #465318
square
#185342 #241853 #531829 #465318
split-complementary
#185342 #531846 #532418
monochromatic
#071813 #0A241C #185342 #268268 #33B28D

Accessibility & contrast

On white

8.92
#185342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#185342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185342
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185342#FFFFFF#000000##FFFFFF
##1853421.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514D41
Deuteranopia (green-blind)
#484743
Tritanopia (blue-blind)
#00544E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #185342;
/* rgb */ color: rgb(24, 83, 66);
/* oklch */ color: oklch(39.9% 0.067 170.2);
Tailwind
colors: {
  custom: {
    50: '#5d8476',
    500: '#185342',
    950: '#000000',
  },
}
SCSS
$custom: #185342;
$custom-light: #5d8476;
$custom-dark: #000000;
JSON
{
  "hex": "#185342",
  "rgb": {
    "r": 24,
    "g": 83,
    "b": 66
  },
  "hsl": {
    "h": 162.712,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39924,
    "c": 0.06701,
    "h": 170.2
  },
  "luminance": 0.06774
}

Semantic roles & 50–950 ramp

primary
#185342
secondary
#8A3D53
accent
#4974DE
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#050B08
muted
#797C7B

Preview Lab

Preview with #185342

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

Preview Lab → · Contrast checker → · Palette generator →

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