#185242#185242

#185242 is a dark, moderate teal. Relative luminance 0.066; OKLCH L 39.6% C 0.066 H 171.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#185242
RGBrgb(24, 82, 66)
HSLhsl(163, 55%, 21%)
HSVhsv(163, 71%, 32%)
CMYKcmyk(70.7%, 0%, 19.5%, 67.8%)
CIE-LABlab(30.93, -23.07, 3.97)
CIE-LCHlch(30.93, 23.40, 170.24°)
OKLaboklab(39.63% -0.0648 0.0101)
OKLCHoklch(39.63% 0.066 171.1)
XYZxyz(4.3769, 6.6217, 6.2006)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185242 #521828
analogous
#185225 #185242 #184552
triadic
#185242 #421852 #524218
tetradic
#185242 #251852 #521828 #455218
square
#185242 #251852 #521828 #455218
split-complementary
#185242 #521845 #522518
monochromatic
#071813 #0A231C #185242 #268168 #34B18E

Accessibility & contrast

On white

9.03
#185242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#185242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185242
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185242#FFFFFF#000000##FFFFFF
##1852421.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4C41
Deuteranopia (green-blind)
#474643
Tritanopia (blue-blind)
#00534D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #185242;
/* rgb */ color: rgb(24, 82, 66);
/* oklch */ color: oklch(39.6% 0.066 171.1);
Tailwind
colors: {
  custom: {
    50: '#5d8376',
    500: '#185242',
    950: '#000000',
  },
}
SCSS
$custom: #185242;
$custom-light: #5d8376;
$custom-dark: #000000;
JSON
{
  "hex": "#185242",
  "rgb": {
    "r": 24,
    "g": 82,
    "b": 66
  },
  "hsl": {
    "h": 163.448,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39633,
    "c": 0.0656,
    "h": 171.1
  },
  "luminance": 0.06622
}

Semantic roles & 50–950 ramp

primary
#185242
secondary
#893D52
accent
#4A73DE
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#050A08
muted
#797C7B

Preview Lab

Preview with #185242

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

Preview Lab → · Contrast checker → · Palette generator →

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