#342D2F#342D2F

#342D2F is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.5% C 0.011 H 358.6°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#342D2F
RGBrgb(52, 45, 47)
HSLhsl(343, 7%, 19%)
HSVhsv(343, 13%, 20%)
CMYKcmyk(0%, 13.5%, 9.6%, 79.6%)
CIE-LABlab(19.28, 3.61, -0.12)
CIE-LCHlch(19.28, 3.61, 358.05°)
OKLaboklab(30.55% 0.0107 -0.0003)
OKLCHoklch(30.55% 0.011 358.6)
XYZxyz(2.8676, 2.8121, 3.0805)
Luminance0.0281 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342D2F #2D3432
analogous
#342D33 #342D2F #342F2D
triadic
#342D2F #2F342D #2D2F34
tetradic
#342D2F #33342D #2D3432 #2F2D34
square
#342D2F #33342D #2D3432 #2F2D34
split-complementary
#342D2F #2D342F #2D3334
monochromatic
#100E0F #131111 #342D2F #55494D #76666A

Accessibility & contrast

On white

13.44
#342D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#342D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342D2F
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342D2F#FFFFFF#000000##FFFFFF
##342D2F1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2E2F
Deuteranopia (green-blind)
#2F2F2F
Tritanopia (blue-blind)
#352D2E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #342d2f;
/* rgb */ color: rgb(52, 45, 47);
/* oklch */ color: oklch(30.5% 0.011 358.6);
Tailwind
colors: {
  custom: {
    50: '#6b6567',
    500: '#342d2f',
    950: '#000000',
  },
}
SCSS
$custom: #342d2f;
$custom-light: #6b6567;
$custom-dark: #000000;
JSON
{
  "hex": "#342d2f",
  "rgb": {
    "r": 52,
    "g": 45,
    "b": 47
  },
  "hsl": {
    "h": 342.857,
    "s": 7.216,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30547,
    "c": 0.01072,
    "h": 358.6
  },
  "luminance": 0.02812
}

Semantic roles & 50–950 ramp

primary
#342D2F
secondary
#5A6360
accent
#B0A078
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060506
muted
#7A7A7A

Preview Lab

Preview with #342D2F

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

Preview Lab → · Contrast checker → · Palette generator →

#342D2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva