#185A42#185A42

#185A42 is a dark, moderate teal. Relative luminance 0.079; OKLCH L 42.0% C 0.077 H 164.6°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#185A42
RGBrgb(24, 90, 66)
HSLhsl(158, 58%, 22%)
HSVhsv(158, 73%, 35%)
CMYKcmyk(73.3%, 0%, 26.7%, 64.7%)
CIE-LABlab(33.77, -26.99, 8.00)
CIE-LCHlch(33.77, 28.15, 163.50°)
OKLaboklab(41.96% -0.0744 0.0204)
OKLCHoklch(41.96% 0.077 164.6)
XYZxyz(5.0157, 7.8993, 6.4136)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185A42 #5A1830
analogous
#185A21 #185A42 #18515A
triadic
#185A42 #42185A #5A4218
tetradic
#185A42 #21185A #5A1830 #515A18
square
#185A42 #21185A #5A1830 #515A18
split-complementary
#185A42 #5A1851 #5A2118
monochromatic
#061812 #0B2A1F #185A42 #258A65 #32BB89

Accessibility & contrast

On white

8.14
#185A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#185A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185A42
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185A42#FFFFFF#000000##FFFFFF
##185A421.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585341
Deuteranopia (green-blind)
#4F4D44
Tritanopia (blue-blind)
#005A53
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #185a42;
/* rgb */ color: rgb(24, 90, 66);
/* oklch */ color: oklch(42.0% 0.077 164.6);
Tailwind
colors: {
  custom: {
    50: '#5f8976',
    500: '#185a42',
    950: '#000000',
  },
}
SCSS
$custom: #185a42;
$custom-light: #5f8976;
$custom-dark: #000000;
JSON
{
  "hex": "#185a42",
  "rgb": {
    "r": 24,
    "g": 90,
    "b": 66
  },
  "hsl": {
    "h": 158.182,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41959,
    "c": 0.07713,
    "h": 164.6
  },
  "luminance": 0.079
}

Semantic roles & 50–950 ramp

primary
#185A42
secondary
#913D5C
accent
#477FE1
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050B08
muted
#797C7B

Preview Lab

Preview with #185A42

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

Preview Lab → · Contrast checker → · Palette generator →

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