#185142#185142

#185142 is a dark, moderate teal. Relative luminance 0.065; OKLCH L 39.3% C 0.064 H 172.1°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#185142
RGBrgb(24, 81, 66)
HSLhsl(164, 54%, 21%)
HSVhsv(164, 70%, 32%)
CMYKcmyk(70.4%, 0%, 18.5%, 68.2%)
CIE-LABlab(30.57, -22.56, 3.46)
CIE-LCHlch(30.57, 22.82, 171.29°)
OKLaboklab(39.34% -0.0636 0.0088)
OKLCHoklch(39.34% 0.064 172.1)
XYZxyz(4.3020, 6.4719, 6.1757)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185142 #511827
analogous
#185125 #185142 #184351
triadic
#185142 #421851 #514218
tetradic
#185142 #251851 #511827 #435118
square
#185142 #251851 #511827 #435118
split-complementary
#185142 #511843 #512518
monochromatic
#071813 #0A221C #185142 #268068 #34AF8F

Accessibility & contrast

On white

9.15
#185142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#185142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185142
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185142#FFFFFF#000000##FFFFFF
##1851421.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4B41
Deuteranopia (green-blind)
#464643
Tritanopia (blue-blind)
#00524D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #185142;
/* rgb */ color: rgb(24, 81, 66);
/* oklch */ color: oklch(39.3% 0.064 172.1);
Tailwind
colors: {
  custom: {
    50: '#5d8276',
    500: '#185142',
    950: '#000000',
  },
}
SCSS
$custom: #185142;
$custom-light: #5d8276;
$custom-dark: #000000;
JSON
{
  "hex": "#185142",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 66
  },
  "hsl": {
    "h": 164.211,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39342,
    "c": 0.0642,
    "h": 172.1
  },
  "luminance": 0.06472
}

Semantic roles & 50–950 ramp

primary
#185142
secondary
#883D51
accent
#4A71DE
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#050A08
muted
#797C7B

Preview Lab

Preview with #185142

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

Preview Lab → · Contrast checker → · Palette generator →

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