#282824#282824

#282824 is a dark, near-neutral grey. Relative luminance 0.021; OKLCH L 27.5% C 0.007 H 106.9°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#282824
RGBrgb(40, 40, 36)
HSLhsl(60, 5%, 15%)
HSVhsv(60, 10%, 16%)
CMYKcmyk(0%, 0%, 10%, 84.3%)
CIE-LABlab(15.98, -0.93, 2.64)
CIE-LCHlch(15.98, 2.79, 109.41°)
OKLaboklab(27.54% -0.0021 0.0069)
OKLCHoklch(27.54% 0.007 106.9)
XYZxyz(1.9523, 2.0961, 1.9705)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282824 #242428
analogous
#282624 #282824 #262824
triadic
#282824 #242828 #282428
tetradic
#282824 #242826 #242428 #282426
square
#282824 #242826 #242428 #282426
split-complementary
#282824 #242628 #262428
monochromatic
#10100E #10100E #282824 #484841 #68685E

Accessibility & contrast

On white

14.80
#282824 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#282824 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282824
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282824#FFFFFF#000000##FFFFFF
##2828241.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292824
Deuteranopia (green-blind)
#292824
Tritanopia (blue-blind)
#292727
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #282824;
/* rgb */ color: rgb(40, 40, 36);
/* oklch */ color: oklch(27.5% 0.007 106.9);
Tailwind
colors: {
  custom: {
    50: '#61615e',
    500: '#282824',
    950: '#000000',
  },
}
SCSS
$custom: #282824;
$custom-light: #61615e;
$custom-dark: #000000;
JSON
{
  "hex": "#282824",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 36
  },
  "hsl": {
    "h": 60,
    "s": 5.263,
    "l": 14.902
  },
  "oklch": {
    "l": 0.27539,
    "c": 0.0072,
    "h": 106.9
  },
  "luminance": 0.02096
}

Semantic roles & 50–950 ramp

primary
#282824
secondary
#515157
accent
#79AE79
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#050504
muted
#797979

Preview Lab

Preview with #282824

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

Preview Lab → · Contrast checker → · Palette generator →

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