#2D342D#2D342D

#2D342D is a dark, near-neutral grey. Relative luminance 0.032; OKLCH L 31.6% C 0.016 H 145.2°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#2D342D
RGBrgb(45, 52, 45)
HSLhsl(120, 7%, 19%)
HSVhsv(120, 13%, 20%)
CMYKcmyk(13.5%, 0%, 13.5%, 79.6%)
CIE-LABlab(20.84, -4.67, 3.42)
CIE-LCHlch(20.84, 5.79, 143.77°)
OKLaboklab(31.59% -0.0128 0.0089)
OKLCHoklch(31.59% 0.016 145.2)
XYZxyz(2.7837, 3.2033, 2.9538)
Luminance0.0320 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D342D #342D34
analogous
#31342D #2D342D #2D3431
triadic
#2D342D #2D2D34 #342D2D
tetradic
#2D342D #2D3134 #342D34 #34312D
square
#2D342D #2D3134 #342D34 #34312D
split-complementary
#2D342D #312D34 #342D31
monochromatic
#0E100E #111311 #2D342D #495549 #667666

Accessibility & contrast

On white

12.80
#2D342D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2D342D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D342D
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D342D#FFFFFF#000000##FFFFFF
##2D342D1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34332D
Deuteranopia (green-blind)
#33322D
Tritanopia (blue-blind)
#2C3432
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d342d;
/* rgb */ color: rgb(45, 52, 45);
/* oklch */ color: oklch(31.6% 0.016 145.2);
Tailwind
colors: {
  custom: {
    50: '#656b65',
    500: '#2d342d',
    950: '#000000',
  },
}
SCSS
$custom: #2d342d;
$custom-light: #656b65;
$custom-dark: #000000;
JSON
{
  "hex": "#2d342d",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 7.216,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31588,
    "c": 0.01559,
    "h": 145.2
  },
  "luminance": 0.03203
}

Semantic roles & 50–950 ramp

primary
#2D342D
secondary
#635A63
accent
#78B0B0
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#050605
muted
#7A7A7A

Preview Lab

Preview with #2D342D

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

Preview Lab → · Contrast checker → · Palette generator →

#2D342D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva