#185B42#185B42

#185B42 is a dark, moderate teal. Relative luminance 0.081; OKLCH L 42.2% C 0.079 H 164.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#185B42
RGBrgb(24, 91, 66)
HSLhsl(158, 58%, 23%)
HSVhsv(158, 74%, 36%)
CMYKcmyk(73.6%, 0%, 27.5%, 64.3%)
CIE-LABlab(34.13, -27.47, 8.49)
CIE-LCHlch(34.13, 28.75, 162.82°)
OKLaboklab(42.25% -0.0756 0.0217)
OKLCHoklch(42.25% 0.079 164)
XYZxyz(5.1006, 8.0691, 6.4419)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185B42 #5B1831
analogous
#185B20 #185B42 #18525B
triadic
#185B42 #42185B #5B4218
tetradic
#185B42 #20185B #5B1831 #525B18
square
#185B42 #20185B #5B1831 #525B18
split-complementary
#185B42 #5B1852 #5B2018
monochromatic
#061812 #0B2B1F #185B42 #258B65 #32BC88

Accessibility & contrast

On white

8.03
#185B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#185B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185B42
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185B42#FFFFFF#000000##FFFFFF
##185B421.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595441
Deuteranopia (green-blind)
#504E44
Tritanopia (blue-blind)
#005B54
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #185b42;
/* rgb */ color: rgb(24, 91, 66);
/* oklch */ color: oklch(42.2% 0.079 164.0);
Tailwind
colors: {
  custom: {
    50: '#5f8a76',
    500: '#185b42',
    950: '#000000',
  },
}
SCSS
$custom: #185b42;
$custom-light: #5f8a76;
$custom-dark: #000000;
JSON
{
  "hex": "#185b42",
  "rgb": {
    "r": 24,
    "g": 91,
    "b": 66
  },
  "hsl": {
    "h": 157.612,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42249,
    "c": 0.07861,
    "h": 164
  },
  "luminance": 0.0807
}

Semantic roles & 50–950 ramp

primary
#185B42
secondary
#923D5D
accent
#4680E1
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #185B42

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

Preview Lab → · Contrast checker → · Palette generator →

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