#342F2D#342F2D

#342F2D is a dark, near-neutral grey. Relative luminance 0.030; OKLCH L 31.0% C 0.008 H 43.2°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#342F2D
RGBrgb(52, 47, 45)
HSLhsl(17, 7%, 19%)
HSVhsv(17, 13%, 20%)
CMYKcmyk(0%, 9.6%, 13.5%, 79.6%)
CIE-LABlab(19.85, 1.81, 2.10)
CIE-LCHlch(19.85, 2.77, 49.13°)
OKLaboklab(30.98% 0.0059 0.0055)
OKLCHoklch(30.98% 0.008 43.2)
XYZxyz(2.9063, 2.9526, 2.8989)
Luminance0.0295 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342F2D #2D3234
analogous
#342D2F #342F2D #34332D
triadic
#342F2D #2D342F #2F2D34
tetradic
#342F2D #2F342D #2D3234 #332D34
square
#342F2D #2F342D #2D3234 #332D34
split-complementary
#342F2D #2D3433 #2D2F34
monochromatic
#100F0E #131111 #342F2D #554D49 #766A66

Accessibility & contrast

On white

13.20
#342F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#342F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342F2D
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342F2D#FFFFFF#000000##FFFFFF
##342F2D1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302F2D
Deuteranopia (green-blind)
#31302D
Tritanopia (blue-blind)
#352E2E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #342f2d;
/* rgb */ color: rgb(52, 47, 45);
/* oklch */ color: oklch(31.0% 0.008 43.2);
Tailwind
colors: {
  custom: {
    50: '#6b6765',
    500: '#342f2d',
    950: '#000000',
  },
}
SCSS
$custom: #342f2d;
$custom-light: #6b6765;
$custom-dark: #000000;
JSON
{
  "hex": "#342f2d",
  "rgb": {
    "r": 52,
    "g": 47,
    "b": 45
  },
  "hsl": {
    "h": 17.143,
    "s": 7.216,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30977,
    "c": 0.00808,
    "h": 43.2
  },
  "luminance": 0.02953
}

Semantic roles & 50–950 ramp

primary
#342F2D
secondary
#5A6063
accent
#A0B078
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060605
muted
#7A7A7A

Preview Lab

Preview with #342F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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