#303836#303836

#303836 is a dark, near-neutral grey. Relative luminance 0.037; OKLCH L 33.2% C 0.011 H 178.8°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#303836
RGBrgb(48, 56, 54)
HSLhsl(165, 8%, 20%)
HSVhsv(165, 14%, 22%)
CMYKcmyk(14.3%, 0%, 3.6%, 78%)
CIE-LABlab(22.73, -3.86, 0.11)
CIE-LCHlch(22.73, 3.86, 178.40°)
OKLaboklab(33.25% -0.0114 0.0002)
OKLCHoklch(33.25% 0.011 178.8)
XYZxyz(3.2988, 3.7230, 4.0341)
Luminance0.0372 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303836 #383032
analogous
#303832 #303836 #303638
triadic
#303836 #363038 #383630
tetradic
#303836 #323038 #383032 #363830
square
#303836 #323038 #383032 #363830
split-complementary
#303836 #383036 #383230
monochromatic
#0E1010 #141716 #303836 #4C5956 #687A76

Accessibility & contrast

On white

12.04
#303836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#303836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303836
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303836#FFFFFF#000000##FFFFFF
##3038361.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373736
Deuteranopia (green-blind)
#363636
Tritanopia (blue-blind)
#2E3837
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #303836;
/* rgb */ color: rgb(48, 56, 54);
/* oklch */ color: oklch(33.2% 0.011 178.8);
Tailwind
colors: {
  custom: {
    50: '#686e6c',
    500: '#303836',
    950: '#000000',
  },
}
SCSS
$custom: #303836;
$custom-light: #686e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#303836",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 54
  },
  "hsl": {
    "h": 165,
    "s": 7.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.33247,
    "c": 0.01137,
    "h": 178.8
  },
  "luminance": 0.03723
}

Semantic roles & 50–950 ramp

primary
#303836
secondary
#675D5F
accent
#7785B1
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060707
muted
#7A7A7A

Preview Lab

Preview with #303836

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

Preview Lab → · Contrast checker → · Palette generator →

#303836 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva