#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 |
|---|---|
| RGB | rgb(48, 47, 42) |
| HSL | hsl(50, 7%, 18%) |
| HSV | hsv(50, 13%, 19%) |
| CMYK | cmyk(0%, 2.1%, 12.5%, 81.2%) |
| CIE-LAB | lab(19.34, -0.67, 3.37) |
| CIE-LCH | lch(19.34, 3.44, 101.20°) |
| OKLab | oklab(30.45% -0.0012 0.0088) |
| OKLCH | oklch(30.45% 0.009 97.6) |
| XYZ | xyz(2.6533, 2.8286, 2.5962) |
| Luminance | 0.0283 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 4.16
Charcoal (survey)
#343837
ΔE00 4.47
Onyx
#353839
ΔE00 5.04
Charcoal Grey
#3C4142
ΔE00 7.29
Gunmetal
#2A3439
ΔE00 7.89
Almost Black
#070D0D
ΔE00 10.93
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 |
|---|---|---|---|---|
| ##302F2A | 1.00 | 13.41 | 1.57 | 13.41 |
| #FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.41 | 1.00 | 21.00 | 1.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