#302C2A#302C2A

#302C2A is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.7% C 0.007 H 48.5°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#302C2A
RGBrgb(48, 44, 42)
HSLhsl(20, 7%, 18%)
HSVhsv(20, 13%, 19%)
CMYKcmyk(0%, 8.3%, 12.5%, 81.2%)
CIE-LABlab(18.35, 1.37, 1.95)
CIE-LCHlch(18.35, 2.38, 54.86°)
OKLaboklab(29.67% 0.0046 0.0051)
OKLCHoklch(29.67% 0.007 48.5)
XYZxyz(2.5375, 2.5969, 2.5576)
Luminance0.0260 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C2A #2A2E30
analogous
#302A2B #302C2A #302F2A
triadic
#302C2A #2A302C #2C2A30
tetradic
#302C2A #2B302A #2A2E30 #2F2A30
square
#302C2A #2B302A #2A2E30 #2F2A30
split-complementary
#302C2A #2A302F #2A2B30
monochromatic
#100F0E #100F0E #302C2A #514A47 #716863

Accessibility & contrast

On white

13.82
#302C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#302C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302C2A
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C2A#FFFFFF#000000##FFFFFF
##302C2A1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2C2A
Deuteranopia (green-blind)
#2E2D2A
Tritanopia (blue-blind)
#312B2B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #302c2a;
/* rgb */ color: rgb(48, 44, 42);
/* oklch */ color: oklch(29.7% 0.007 48.5);
Tailwind
colors: {
  custom: {
    50: '#686563',
    500: '#302c2a',
    950: '#000000',
  },
}
SCSS
$custom: #302c2a;
$custom-light: #686563;
$custom-dark: #000000;
JSON
{
  "hex": "#302c2a",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 42
  },
  "hsl": {
    "h": 20,
    "s": 6.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29666,
    "c": 0.00686,
    "h": 48.5
  },
  "luminance": 0.02597
}

Semantic roles & 50–950 ramp

primary
#302C2A
secondary
#575C5F
accent
#9DB078
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#060505
muted
#7A7A79

Preview Lab

Preview with #302C2A

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

Preview Lab → · Contrast checker → · Palette generator →

#302C2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva