#185340#185340

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

Color values

HEX#185340
RGBrgb(24, 83, 64)
HSLhsl(161, 55%, 21%)
HSVhsv(161, 71%, 33%)
CMYKcmyk(71.1%, 0%, 22.9%, 67.5%)
CIE-LABlab(31.23, -24.12, 5.66)
CIE-LCHlch(31.23, 24.78, 166.79°)
OKLaboklab(39.86% -0.0671 0.0145)
OKLCHoklch(39.86% 0.069 167.8)
XYZxyz(4.3949, 6.7504, 5.9208)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185340 #53182B
analogous
#185322 #185340 #184853
triadic
#185340 #401853 #534018
tetradic
#185340 #221853 #53182B #485318
square
#185340 #221853 #53182B #485318
split-complementary
#185340 #531848 #532218
monochromatic
#071812 #0A241B #185340 #268265 #33B289

Accessibility & contrast

On white

8.94
#185340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #185340
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185340#FFFFFF#000000##FFFFFF
##1853401.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514D3F
Deuteranopia (green-blind)
#494741
Tritanopia (blue-blind)
#00534E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #185340;
/* rgb */ color: rgb(24, 83, 64);
/* oklch */ color: oklch(39.9% 0.069 167.8);
Tailwind
colors: {
  custom: {
    50: '#5d8474',
    500: '#185340',
    950: '#000000',
  },
}
SCSS
$custom: #185340;
$custom-light: #5d8474;
$custom-dark: #000000;
JSON
{
  "hex": "#185340",
  "rgb": {
    "r": 24,
    "g": 83,
    "b": 64
  },
  "hsl": {
    "h": 160.678,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39862,
    "c": 0.06867,
    "h": 167.8
  },
  "luminance": 0.06751
}

Semantic roles & 50–950 ramp

primary
#185340
secondary
#8A3D56
accent
#4979DE
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#050B08
muted
#797C7B

Preview Lab

Preview with #185340

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

Preview Lab → · Contrast checker → · Palette generator →

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