#24221C#24221C

#24221C is a dark, near-neutral yellow. Relative luminance 0.016; OKLCH L 25.2% C 0.011 H 91.7°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#24221C
RGBrgb(36, 34, 28)
HSLhsl(45, 13%, 13%)
HSVhsv(45, 22%, 14%)
CMYKcmyk(0%, 5.6%, 22.2%, 85.9%)
CIE-LABlab(13.25, -0.40, 4.39)
CIE-LCHlch(13.25, 4.41, 95.19°)
OKLaboklab(25.2% -0.0003 0.0113)
OKLCHoklch(25.2% 0.011 91.7)
XYZxyz(1.5092, 1.6030, 1.3283)
Luminance0.0160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24221C #1C1E24
analogous
#241E1C #24221C #22241C
triadic
#24221C #1C2422 #221C24
tetradic
#24221C #1C241E #1C1E24 #241C22
square
#24221C #1C241E #1C1E24 #241C22
split-complementary
#24221C #1C2224 #1E1C24
monochromatic
#11100D #11100D #24221C #464337 #696352

Accessibility & contrast

On white

15.90
#24221C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#24221C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24221C
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24221C#FFFFFF#000000##FFFFFF
##24221C1.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23221C
Deuteranopia (green-blind)
#24221C
Tritanopia (blue-blind)
#252120
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #24221c;
/* rgb */ color: rgb(36, 34, 28);
/* oklch */ color: oklch(25.2% 0.011 91.7);
Tailwind
colors: {
  custom: {
    50: '#5e5c58',
    500: '#24221c',
    950: '#000000',
  },
}
SCSS
$custom: #24221c;
$custom-light: #5e5c58;
$custom-dark: #000000;
JSON
{
  "hex": "#24221c",
  "rgb": {
    "r": 36,
    "g": 34,
    "b": 28
  },
  "hsl": {
    "h": 45,
    "s": 12.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.25201,
    "c": 0.01135,
    "h": 91.7
  },
  "luminance": 0.01603
}

Semantic roles & 50–950 ramp

primary
#24221C
secondary
#474A55
accent
#83B572
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040403
muted
#797978

Preview Lab

Preview with #24221C

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

Preview Lab → · Contrast checker → · Palette generator →

#24221C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva