#302F2A#302F2A

#302F2A is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.4% C 0.009 H 97.6°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#302F2A
RGBrgb(48, 47, 42)
HSLhsl(50, 7%, 18%)
HSVhsv(50, 13%, 19%)
CMYKcmyk(0%, 2.1%, 12.5%, 81.2%)
CIE-LABlab(19.34, -0.67, 3.37)
CIE-LCHlch(19.34, 3.44, 101.20°)
OKLaboklab(30.45% -0.0012 0.0088)
OKLCHoklch(30.45% 0.009 97.6)
XYZxyz(2.6533, 2.8286, 2.5962)
Luminance0.0283 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F2A #2A2B30
analogous
#302C2A #302F2A #2E302A
triadic
#302F2A #2A302F #2F2A30
tetradic
#302F2A #2A302C #2A2B30 #302A2E
square
#302F2A #2A302C #2A2B30 #302A2E
split-complementary
#302F2A #2A2E30 #2C2A30
monochromatic
#10100E #10100E #302F2A #514F47 #716F63

Accessibility & contrast

On white

13.41
#302F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#302F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302F2A
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302F2A#FFFFFF#000000##FFFFFF
##302F2A1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302F2A
Deuteranopia (green-blind)
#302F2A
Tritanopia (blue-blind)
#312E2E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #302f2a;
/* rgb */ color: rgb(48, 47, 42);
/* oklch */ color: oklch(30.4% 0.009 97.6);
Tailwind
colors: {
  custom: {
    50: '#686763',
    500: '#302f2a',
    950: '#000000',
  },
}
SCSS
$custom: #302f2a;
$custom-light: #686763;
$custom-dark: #000000;
JSON
{
  "hex": "#302f2a",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 42
  },
  "hsl": {
    "h": 50,
    "s": 6.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30446,
    "c": 0.00888,
    "h": 97.6
  },
  "luminance": 0.02829
}

Semantic roles & 50–950 ramp

primary
#302F2A
secondary
#57585F
accent
#81B078
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#060605
muted
#7A7A79

Preview Lab

Preview with #302F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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