#185B51#185B51

#185B51 is a dark, moderate teal. Relative luminance 0.083; OKLCH L 42.7% C 0.068 H 180.9°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#185B51
RGBrgb(24, 91, 81)
HSLhsl(171, 58%, 23%)
HSVhsv(171, 74%, 36%)
CMYKcmyk(73.6%, 0%, 11%, 64.3%)
CIE-LABlab(34.54, -23.25, -0.26)
CIE-LCHlch(34.54, 23.25, 180.63°)
OKLaboklab(42.72% -0.0675 -0.0011)
OKLCHoklch(42.72% 0.068 180.9)
XYZxyz(5.6023, 8.2698, 9.0840)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185B51 #5B1822
analogous
#185B30 #185B51 #18435B
triadic
#185B51 #51185B #5B5118
tetradic
#185B51 #30185B #5B1822 #435B18
square
#185B51 #30185B #5B1822 #435B18
split-complementary
#185B51 #5B1843 #5B3018
monochromatic
#061816 #0B2B26 #185B51 #258B7C #32BCA7

Accessibility & contrast

On white

7.91
#185B51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #185B51
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185B51#FFFFFF#000000##FFFFFF
##185B511.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575551
Deuteranopia (green-blind)
#4D4E52
Tritanopia (blue-blind)
#005D58
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #185b51;
/* rgb */ color: rgb(24, 91, 81);
/* oklch */ color: oklch(42.7% 0.068 180.9);
Tailwind
colors: {
  custom: {
    50: '#608a81',
    500: '#185b51',
    950: '#000000',
  },
}
SCSS
$custom: #185b51;
$custom-light: #608a81;
$custom-dark: #000000;
JSON
{
  "hex": "#185b51",
  "rgb": {
    "r": 24,
    "g": 91,
    "b": 81
  },
  "hsl": {
    "h": 171.045,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42722,
    "c": 0.06755,
    "h": 180.9
  },
  "luminance": 0.0827
}

Semantic roles & 50–950 ramp

primary
#185B51
secondary
#923D4A
accent
#465DE1
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050B0A
muted
#797C7C

Preview Lab

Preview with #185B51

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

Preview Lab → · Contrast checker → · Palette generator →

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