#24201F#24201F

#24201F is a very dark, near-neutral grey. Relative luminance 0.015; OKLCH L 24.8% C 0.006 H 34.3°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#24201F
RGBrgb(36, 32, 31)
HSLhsl(12, 7%, 13%)
HSVhsv(12, 14%, 14%)
CMYKcmyk(0%, 11.1%, 13.9%, 85.9%)
CIE-LABlab(12.65, 1.67, 1.37)
CIE-LCHlch(12.65, 2.16, 39.23°)
OKLaboklab(24.76% 0.0053 0.0036)
OKLCHoklch(24.76% 0.006 34.3)
XYZxyz(1.4914, 1.5070, 1.5084)
Luminance0.0151 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24201F #1F2324
analogous
#241F20 #24201F #24221F
triadic
#24201F #1F2420 #201F24
tetradic
#24201F #20241F #1F2324 #221F24
square
#24201F #20241F #1F2324 #221F24
split-complementary
#24201F #1F2422 #1F2024
monochromatic
#100F0E #100F0E #24201F #453D3B #665A58

Accessibility & contrast

On white

16.14
#24201F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#24201F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24201F
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24201F#FFFFFF#000000##FFFFFF
##24201F1.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21201F
Deuteranopia (green-blind)
#22211F
Tritanopia (blue-blind)
#252020
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #24201f;
/* rgb */ color: rgb(36, 32, 31);
/* oklch */ color: oklch(24.8% 0.006 34.3);
Tailwind
colors: {
  custom: {
    50: '#5e5b5a',
    500: '#24201f',
    950: '#000000',
  },
}
SCSS
$custom: #24201f;
$custom-light: #5e5b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#24201f",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 31
  },
  "hsl": {
    "h": 12,
    "s": 7.463,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24764,
    "c": 0.00643,
    "h": 34.3
  },
  "luminance": 0.01507
}

Semantic roles & 50–950 ramp

primary
#24201F
secondary
#4B5254
accent
#A5B177
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040403
muted
#797978

Preview Lab

Preview with #24201F

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

Preview Lab → · Contrast checker → · Palette generator →

#24201F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva