#24221A#24221A

#24221A is a dark, near-neutral yellow. Relative luminance 0.016; OKLCH L 25.1% C 0.015 H 95.6°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#24221A
RGBrgb(36, 34, 26)
HSLhsl(48, 16%, 12%)
HSVhsv(48, 28%, 14%)
CMYKcmyk(0%, 5.6%, 27.8%, 85.9%)
CIE-LABlab(13.19, -0.80, 5.74)
CIE-LCHlch(13.19, 5.80, 97.94°)
OKLaboklab(25.14% -0.0014 0.0147)
OKLCHoklch(25.14% 0.015 95.6)
XYZxyz(1.4860, 1.5937, 1.2064)
Luminance0.0159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24221A #1A1C24
analogous
#241D1A #24221A #21241A
triadic
#24221A #1A2422 #221A24
tetradic
#24221A #1A241D #1A1C24 #241A21
square
#24221A #1A241D #1A1C24 #241A21
split-complementary
#24221A #1A2124 #1D1A24
monochromatic
#12110D #12110D #24221A #484434 #6B654D

Accessibility & contrast

On white

15.92
#24221A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24221A
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24221A#FFFFFF#000000##FFFFFF
##24221A1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24221A
Deuteranopia (green-blind)
#24221A
Tritanopia (blue-blind)
#262120
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #24221a;
/* rgb */ color: rgb(36, 34, 26);
/* oklch */ color: oklch(25.1% 0.015 95.6);
Tailwind
colors: {
  custom: {
    50: '#5e5c56',
    500: '#24221a',
    950: '#000000',
  },
}
SCSS
$custom: #24221a;
$custom-light: #5e5c56;
$custom-dark: #000000;
JSON
{
  "hex": "#24221a",
  "rgb": {
    "r": 36,
    "g": 34,
    "b": 26
  },
  "hsl": {
    "h": 48,
    "s": 16.129,
    "l": 12.157
  },
  "oklch": {
    "l": 0.25138,
    "c": 0.01477,
    "h": 95.6
  },
  "luminance": 0.01594
}

Semantic roles & 50–950 ramp

primary
#24221A
secondary
#444856
accent
#7EB96F
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040403
muted
#797978

Preview Lab

Preview with #24221A

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

Preview Lab → · Contrast checker → · Palette generator →

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