#18342B#18342B

#18342B is a dark, muted teal. Relative luminance 0.028; OKLCH L 30.0% C 0.038 H 170.7°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#18342B
RGBrgb(24, 52, 43)
HSLhsl(161, 37%, 15%)
HSVhsv(161, 54%, 20%)
CMYKcmyk(53.8%, 0%, 17.3%, 79.6%)
CIE-LABlab(19.33, -13.31, 2.42)
CIE-LCHlch(19.33, 13.52, 169.68°)
OKLaboklab(29.97% -0.0377 0.0062)
OKLCHoklch(29.97% 0.038 170.7)
XYZxyz(2.0405, 2.8244, 2.7227)
Luminance0.0283 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18342B #341821
analogous
#18341D #18342B #182F34
triadic
#18342B #2B1834 #342B18
tetradic
#18342B #1D1834 #341821 #2F3418
square
#18342B #1D1834 #341821 #2F3418
split-complementary
#18342B #34182F #341D18
monochromatic
#0A1511 #0A1511 #18342B #2B5E4E #3F8870

Accessibility & contrast

On white

13.42
#18342B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#18342B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18342B
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18342B#FFFFFF#000000##FFFFFF
##18342B1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33312B
Deuteranopia (green-blind)
#2E2E2C
Tritanopia (blue-blind)
#0E3431
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #18342b;
/* rgb */ color: rgb(24, 52, 43);
/* oklch */ color: oklch(30.0% 0.038 170.7);
Tailwind
colors: {
  custom: {
    50: '#576b64',
    500: '#18342b',
    950: '#000000',
  },
}
SCSS
$custom: #18342b;
$custom-light: #576b64;
$custom-dark: #000000;
JSON
{
  "hex": "#18342b",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 43
  },
  "hsl": {
    "h": 160.714,
    "s": 36.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.29973,
    "c": 0.0382,
    "h": 170.7
  },
  "luminance": 0.02825
}

Semantic roles & 50–950 ramp

primary
#18342B
secondary
#6A3E4C
accent
#5B80CD
background
#F5F6F5
surface
#E9EBEA
border
#C5C6C6
text
#030605
muted
#787A79

Preview Lab

Preview with #18342B

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

Preview Lab → · Contrast checker → · Palette generator →

#18342B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva