#342E2F#342E2F

#342E2F is a dark, near-neutral grey. Relative luminance 0.029; OKLCH L 30.8% C 0.009 H 6.2°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#342E2F
RGBrgb(52, 46, 47)
HSLhsl(350, 6%, 19%)
HSVhsv(350, 12%, 20%)
CMYKcmyk(0%, 11.5%, 9.6%, 79.6%)
CIE-LABlab(19.59, 2.92, 0.34)
CIE-LCHlch(19.59, 2.94, 6.70°)
OKLaboklab(30.8% 0.0088 0.001)
OKLCHoklch(30.8% 0.009 6.2)
XYZxyz(2.9062, 2.8893, 3.0934)
Luminance0.0289 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342E2F #2E3433
analogous
#342E32 #342E2F #34302E
triadic
#342E2F #2F342E #2E2F34
tetradic
#342E2F #32342E #2E3433 #302E34
square
#342E2F #32342E #2E3433 #302E34
split-complementary
#342E2F #2E3430 #2E3234
monochromatic
#100E0F #141112 #342E2F #544B4C #75676A

Accessibility & contrast

On white

13.31
#342E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#342E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342E2F
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342E2F#FFFFFF#000000##FFFFFF
##342E2F1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2F2F
Deuteranopia (green-blind)
#30302F
Tritanopia (blue-blind)
#352E2E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #342e2f;
/* rgb */ color: rgb(52, 46, 47);
/* oklch */ color: oklch(30.8% 0.009 6.2);
Tailwind
colors: {
  custom: {
    50: '#6b6667',
    500: '#342e2f',
    950: '#000000',
  },
}
SCSS
$custom: #342e2f;
$custom-light: #6b6667;
$custom-dark: #000000;
JSON
{
  "hex": "#342e2f",
  "rgb": {
    "r": 52,
    "g": 46,
    "b": 47
  },
  "hsl": {
    "h": 350,
    "s": 6.122,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30796,
    "c": 0.00885,
    "h": 6.2
  },
  "luminance": 0.02889
}

Semantic roles & 50–950 ramp

primary
#342E2F
secondary
#5B6362
accent
#AFA679
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #342E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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