#185042#185042

#185042 is a dark, moderate teal. Relative luminance 0.063; OKLCH L 39.1% C 0.063 H 173.2°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#185042
RGBrgb(24, 80, 66)
HSLhsl(165, 54%, 20%)
HSVhsv(165, 70%, 31%)
CMYKcmyk(70%, 0%, 17.5%, 68.6%)
CIE-LABlab(30.22, -22.05, 2.94)
CIE-LCHlch(30.22, 22.24, 172.40°)
OKLaboklab(39.05% -0.0624 0.0074)
OKLCHoklch(39.05% 0.063 173.2)
XYZxyz(4.2282, 6.3244, 6.1511)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185042 #501826
analogous
#185026 #185042 #184250
triadic
#185042 #421850 #504218
tetradic
#185042 #261850 #501826 #425018
square
#185042 #261850 #501826 #425018
split-complementary
#185042 #501842 #502618
monochromatic
#071813 #0A211B #185042 #267F69 #34AE90

Accessibility & contrast

On white

9.27
#185042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#185042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185042
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185042#FFFFFF#000000##FFFFFF
##1850421.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4B41
Deuteranopia (green-blind)
#454543
Tritanopia (blue-blind)
#00514C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #185042;
/* rgb */ color: rgb(24, 80, 66);
/* oklch */ color: oklch(39.1% 0.063 173.2);
Tailwind
colors: {
  custom: {
    50: '#5d8176',
    500: '#185042',
    950: '#000000',
  },
}
SCSS
$custom: #185042;
$custom-light: #5d8176;
$custom-dark: #000000;
JSON
{
  "hex": "#185042",
  "rgb": {
    "r": 24,
    "g": 80,
    "b": 66
  },
  "hsl": {
    "h": 165,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39051,
    "c": 0.06281,
    "h": 173.2
  },
  "luminance": 0.06325
}

Semantic roles & 50–950 ramp

primary
#185042
secondary
#873D4F
accent
#4B6FDD
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #185042

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

Preview Lab → · Contrast checker → · Palette generator →

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