#184F42#184F42

#184F42 is a dark, moderate teal. Relative luminance 0.062; OKLCH L 38.8% C 0.061 H 174.3°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#184F42
RGBrgb(24, 79, 66)
HSLhsl(166, 53%, 20%)
HSVhsv(166, 70%, 31%)
CMYKcmyk(69.6%, 0%, 16.5%, 69%)
CIE-LABlab(29.86, -21.53, 2.43)
CIE-LCHlch(29.86, 21.66, 173.56°)
OKLaboklab(38.76% -0.0611 0.0061)
OKLCHoklch(38.76% 0.061 174.3)
XYZxyz(4.1556, 6.1791, 6.1269)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184F42 #4F1825
analogous
#184F26 #184F42 #18404F
triadic
#184F42 #42184F #4F4218
tetradic
#184F42 #26184F #4F1825 #404F18
square
#184F42 #26184F #4F1825 #404F18
split-complementary
#184F42 #4F1840 #4F2618
monochromatic
#071714 #0A201B #184F42 #267E69 #35AD90

Accessibility & contrast

On white

9.39
#184F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#184F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184F42
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184F42#FFFFFF#000000##FFFFFF
##184F421.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4A41
Deuteranopia (green-blind)
#444443
Tritanopia (blue-blind)
#00504B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #184f42;
/* rgb */ color: rgb(24, 79, 66);
/* oklch */ color: oklch(38.8% 0.061 174.3);
Tailwind
colors: {
  custom: {
    50: '#5d8176',
    500: '#184f42',
    950: '#000000',
  },
}
SCSS
$custom: #184f42;
$custom-light: #5d8176;
$custom-dark: #000000;
JSON
{
  "hex": "#184f42",
  "rgb": {
    "r": 24,
    "g": 79,
    "b": 66
  },
  "hsl": {
    "h": 165.818,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3876,
    "c": 0.06144,
    "h": 174.3
  },
  "luminance": 0.0618
}

Semantic roles & 50–950 ramp

primary
#184F42
secondary
#863D4E
accent
#4B6DDD
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #184F42

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

Preview Lab → · Contrast checker → · Palette generator →

#184F42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva